这是一款PHP-SDK,可以用在MAC和linux系统上。
支持通过 composer 安装,包名称为 hightman/xunsearch。
方法之一:
在composer文件加入
“hightman/xunsearch”: “*@beta”
执行
composer update hightman/xunsearch
详细资料参见官方文档:
http://www.xunsearch.com/doc/php/guide/start.installation
官方资料已经很详细,这个用C/C++写的搜索引擎的速度可以很好的满足项目检索需求,20万的数据量,全文大概用了30ms。