已经成功安装并启动 INFO: stopping server[xs-indexd] (BIND:127.0.0.1:8383) .... [OK] INFO: re-starting server[xs-indexd] ... (BIND:127.0.0.1:8383) INFO: stopping server[xs-searchd] (BIND:127.0.0.1:8384) .... [OK] INFO: re-starting server[xs-searchd] ... (BIND:127.0.0.1:8384) subhd.i...
...词的 $xs = new XS('question'); $search = $xs->search; $index = $xs->index; $query = '健身'; // 这里的搜索语句很简单,就一个短语 $search->setQuery($query); // 设置搜索语句 $search->addWeight('title', '运动'); // 增加附加条件:提...
ini设置 [php] [example_attr] index = self tokenizer = split(,) non_bool = yes[/php] XS版本 xs-indexd: xunsearch/1.4.7-dev (index server) 查询结果没有任何变化,结果如下: [php]example_attr:jianyue,baise 45 ... jianyue,baise,qianhuang 207 ... zhongshi,hongse,baise 3...
XS Object ( [_index:private] => [_search:private] => [_scws:private] => [_scheme:private] => XSFieldScheme Object ( [_fields:private] => Array ( [newsid] => XSFieldMeta Object ( [name] => newsid [cutlen] => 0 [weight] => 1 [type] => 10 [vno] => 0 [tokenizer:private] => full [flag:private] => 1 )...
...xecCommand(Array, 250) #1 /home/www/xunsearch/sdk/php/lib/XS.php(1246): XSIndex->addExdata('????????1??????...', false) #2 /home/www/xunsearch/sdk/php/lib/XS.php(1102): XSIndex->appendBuffer('????????37225??...') #3 /home/www/xunsearch/sdk/php/util/Indexer.php(237): XSIndex->update(Object(XSDocum...
...ding(S#407) #0 ../lib/XS.php(1198): XSServer->execCommand(Array, 257) #1 Indexer.php(241): XSIndex->beginRebuild() #2 {main} [b]这是咋回事?[/b] 2、我又换成--stop-rebuild,可以成功建索引,[b]这是怎么回事?[/b] 但是,在data目录下看到的是 db.re这个目...
...construct(8383) #4 ../usr/local/xunsearch/sdk/php/lib/XS.php(251): XS->getIndex(8383, Object(XS)) #5 Indexer.php(155): XSComponent->__get() #6 {main}
...etRespond() #2 ../lib/XS.php(1880): XSServer->execCommand(Array, 208) #3 Indexer.php(180): XSServer->setTimeout(1000) #4 {main}
...tent) $content string 新的词典内容 源码: sdk/php/lib/XSIndex.class.php#L495 (显示) public function setCustomDict($content){ $cmd = array('cmd' => XS_CMD_INDEX_USER_DICT, 'arg1' => 1, 'buf' => $content); $this->execCommand($cmd, XS_CMD_OK_DICT_SAVED);} 设置自定义...
...支持项目自定义词库,[url=http://www.xunsearch.com/doc/php/guide/index.dict]参见文档[/url] 3. 改进网络 IO 读取,优化搜索内存运用等大幅提升性能和稳定性 4. 净化服务端日志使记录更有价值 5. 改进 util.Indexer 和 util.Quest 加入 --info 选项用...