Skip to content

Leechael/li3_sphinx

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 

Repository files navigation

li3_sphinx

Sphinx Client Lithium (a.k.a. li3) binding.

Usage

use \li3_sphinx\http\Sphinx;
Sphinx::config(array(
    'default' => array(
        'production' => array(
            'host'  => '127.0.0.1',
            'port'  => '3312'
        ),
        'test' => array(
            'host'  => '10.0.1.203',
            'port'  => '3312'
        ),
        'development' => array(
            'host'  => '127.0.0.1',
            'port'  => '3312'
        ),
    )
));
$client = Sphinx::get();

$results = $client->Query('sphinx based fulltext search');

References

Document for Sphinx API is here: http://sphinxsearch.com/docs/current.html

About

Sphinx Client Lithium (li3) binding

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages