Reference address information
Http://sphinxsearch.com/docs/latest/installing-windows.html
http://my.oschina.net/melonol/blog/127438
Http://www.sphinxsearch.org/sphinx-tutorial
Http://www.cnblogs.com/ainiaa/archive/2010/12/21/1912459.html
1. Download Sphinx Address Pack
http://sphinxsearch.com/downloads/release/
2. Under unzip to the specified directory folder such as: D:/php/sphinx
3. Modify configuration file Information D:\php\sphinx\sphinx.conf.in
Specific modifications can refer to the http://my.oschina.net/melonol/blog/127438 configuration information description
Http://www.cnblogs.com/ainiaa/archive/2010/12/21/1912459.html
Set the configuration information, create the index information.
D:\php\sphinx\bin>indexer.exe--all
Install the service (the service can start normally if there is no problem with the configuration)
D:\php\sphinx\bin\searchd--install--config D:\php\sphinx\bin\sphinx.conf--servicename sphinxsearch
Example of Yii framework query
$searchQuery New \yii\sphinx\query; $ids = []; foreach ($searchQuery->from (' index_name ')->match (new$keywordsas$search { $ids$search[' itemid '];}
Cond....
Sphinx 2.0.8 Released, full-text search engine installing Sphinx on Windows