CakePHP Darasource for Hyper Estraier
As a prerequisite, CakePHP, Service_HyperEstraier and Hyper Estraier setting has been completed.
- Under '/app/Lib' directory, copy 'Service_Hyperestraier' library.
- Under '/app/Model/Datasource' directory, copy this datasource file (Hyperestraier.php.
- Describe the contents of the following in database.php
public $he = array(
'datasource' => 'Hyperestraier',
'host' => 'localhost',
'port' => 1978,
'node' => 'nodename',
'login' => 'admin',
'password' => 'admin'
);
- Create model file and describe the contents of the following this. public $useDbConfig = 'he';
CakePHP + Hyper Estraierで全文検索 - Datasourceを作ってみる - ミラボ
Copyright (c) 2012 miraoto MIT License (http://www.opensource.org/licenses/mit-license.php)