搜索

大约有 74 项符合查询结果, 库内数据总量为 3,513 项。 (搜索耗时:0.0988秒)

31.XSSearch::getSynonyms

...XS_CMD_SEARCH_GET_SYNONYMS, 'arg1' => 2, 'buf' => $term); $res = $this->execCommand($cmd, XS_CMD_OK_RESULT_SYNONYMS); $ret = $res->buf === '' ? array() : explode("\n", $res->buf); return $ret;} 获取指定词汇的同义词列表

32.在更新索引时,经常出错,麻烦大家看看

发布时间:2011-09-29 14:09 t By jake

...?25?????...') #1 /usr/local/xunsearch/sdk/php/lib/XS.php(1058): XSServer->execCommand(Object(XSCommand), 250) #2 /data/abchosting/trunkey/wwwroot/index.php(110): XSIndex->update(Object(XSDocument)) #3 {main}

33.XSSearch::setRequireMatchedTerm

...; $cmd = new XSCommand(XS_CMD_SEARCH_SET_MISC, $arg1, $arg2); $this->execCommand($cmd); return $this;} 设置在搜索结果文档中返回匹配词表 请在 search 前调用本方法, 然后使用 XSDocument::matched 获取

34.XSSearch::setCutOff

...md = new XSCommand(XS_CMD_SEARCH_SET_CUTOFF, $percent, $weight); $this->execCommand($cmd); return $this;} 设置百分比/权重剔除参数 通常是在开启 setFuzzy 或使用 OR 连接搜索语句时才需要设置此项

35.XSSearch::setAutoSynonyms

... $cmd = array('cmd' => XS_CMD_QUERY_PARSEFLAG, 'arg' => $flag); $this->execCommand($cmd); return $this;} 开启自动同义词搜索功能

36.来源为数据库,更新索引是抛出错误

发布时间:2011-11-14 03:11 t By winsky027

...ib/XS.php(1896): XSServer->getRespond() #2 ../lib/XS.php(1880): XSServer->execCommand(Array, 208) #3 Indexer.php(180): XSServer->setTimeout(1000) #4 {main}

37.测试的时候填充索引数据出问题

发布时间:2012-04-11 17:04 t By zhuhui420

...create home directoy of the project(S#508) #0 lib/XS.php(2067): XSServer->execCommand(Array, 201) #1 lib/XS.php(2028): XSServer->setProject('demo') #2 lib/XS.php(2011): XSServer->open('8383') #3 lib/XS.php(342): XSServer->__construct('8383', Object(XS)) #4 lib/XS.php(249): XS->getIndex() #5 In...

38.XSSearch::setCollapse

... $cmd = new XSCommand(XS_CMD_SEARCH_SET_COLLAPSE, $max, $vno); $this->execCommand($cmd); return $this;} 设置折叠搜索结果 注意, 每当调用 setDb 或 addDb 修改当前数据库时会重置此项设置

39.咨询2个建索引的问题

发布时间:2013-05-29 16:05 t By coos

...hp(2233): DB has been rebuilding(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目录下...

40.XSIndex::addSynonym

... $this->appendBuffer(strval($cmd)); } else { $this->execCommand($cmd, XS_CMD_OK_RQST_FINISHED); } } return $this;} 添加同义词

  • 时间不限
  • 按相关性排序