... (显示) public function getScwsMulti(){ $cmd = array('cmd' => XS_CMD_SEARCH_SCWS_GET, 'arg1' => XS_CMD_SCWS_GET_MULTI); $res = $this->execCommand($cmd, XS_CMD_OK_INFO); return intval($res->buf);} 获取当前索引库的分词复合等级 参见 setScwsMulti openBuffer() 方...
经常一段时间的仔细测试和调校,很高兴于今天发布 Xunsearch 1.1.0 正式版。 这次修订主要是开发了一些新功能,同时修正了一些小BUG,强烈各位用户建议升级到该最新稳定版本。新增的主要功能如下: 1. 数据库后台智能分库...
... 为了优化性能,数据放入内存了 /dev/shm/data on /usr/local/xunsearch/data 跟踪信息如下,麻烦老大给看看情况 应用地址 http://dict.qinbei.com [root@www ~]# ps -axu|grep search Warning: bad syntax, perhaps a bogus '-'? See /usr/share/doc/procps-3.2.8/FAQ root ...
//保护迅搜文件 include SRCPATH.'libs/xunsearch/lib/XS.php'; $this->temp_db = $ci->load->database ( $table_db_array[$table], TRUE ); //建立 XS 对象 $xs = new XS($project_name); //获取 索引对象 $index = $xs->index; $doc = new XSDocument; $result = array(); ...
1.安装xunsearch,参见文档:http://www.xunsearch.com/doc/php/guide/start.installation,这里不必多说 2.启动xunsearch $prefix/bin/xs-ctl.sh start,即可启动xunsearch 3.构建项目:首先参考文档:http://www.xunsearch.com/doc/php/guide/ini.guide 文档中说明了项目...