Skip to content
This repository has been archived by the owner on Jul 13, 2019. It is now read-only.
/ Sphinx-CakePHP Public archive

A Cake2.0 behavior for the Sphinx search engine

Notifications You must be signed in to change notification settings

nabeelio/Sphinx-CakePHP

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 

Repository files navigation

Updated to further maintain.

Derived version from the Sphinx Behavior by @nabeelio

Updated version for the Sphinx Behavior by Vilen Tambovtsev

I've updated this for Cake2.0, and also so it runs one query to Sphinx, instead of two (one for results, one for count)

Also makes the search results that are returned from Sphinx available to the model (I use this to build filters for search)

The original usage page is here:

http://bakery.cakephp.org/articles/xumix/2009/07/11/sphinx-behavior

Installation

[Manual]

[Composer]

in the composer.json file of your project add

"repositories":
[
    {
        "type": "vcs",
        "url": "https://github.com/nabeelio/Sphinx-CakePHP"
    }
],
"require":{
    "nabeelio/sphinx-cakephp": "dev-master"
}

The plugin will be installed in your Plugin directory.

Usage

Make sure the plugin is loaded in app/Config/bootstrap.php.

CakePlugin::load('SphinxCakephp');

About

A Cake2.0 behavior for the Sphinx search engine

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages