/cakephp.datasource.hyperestraier

CakePHP Darasource for Hyper Estraier

Primary LanguagePHP

cakephp.datasource.hyperestraier

CakePHP Darasource for Hyper Estraier

Recommended environment

How to use

As a prerequisite, CakePHP, Service_HyperEstraier and Hyper Estraier setting has been completed.

  1. Under '/app/Lib' directory, copy 'Service_Hyperestraier' library.
  2. Under '/app/Model/Datasource' directory, copy this datasource file (Hyperestraier.php.
  3. Describe the contents of the following in database.php
public $he = array(
    'datasource' => 'Hyperestraier',
    'host'  => 'localhost',
    'port'  => 1978,
    'node'  => 'nodename',
    'login' => 'admin',
    'password' => 'admin'
);
  1. Create model file and describe the contents of the following this. public $useDbConfig = 'he';

Related information

CakePHP + Hyper Estraierで全文検索 - Datasourceを作ってみる - ミラボ

License

Copyright (c) 2012 miraoto MIT License (http://www.opensource.org/licenses/mit-license.php)