搜索

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

11.XSSearch::getSynonyms

...录数组, 不存在同义词则返回空数组 源码: sdk/php/lib/XSSearch.class.php#L187 (显示) public function getSynonyms($term){ $term = strval($term); if (strlen($term) === 0) { return false; } $cmd = array('cmd' => XS_CMD_SEARCH_GET_SYNONYMS, 'arg1' => 2, 'buf' => $...

12.XSSearch::getHotQuery

...索词为键, 搜索指数为值的关联数组 源码: sdk/php/lib/XSSearch.class.php#L673 (显示) public function getHotQuery($limit = 6, $type = 'total'){ $ret = array(); $limit = max(1, min(50, intval($limit))); // query from log_db $this->xs->setScheme(XSFieldScheme::logger())...

13.XSTokenizerScws::getResult

...y(); $text = $this->applySetting($text); $cmd = new XSCommand(XS_CMD_SEARCH_SCWS_GET, XS_CMD_SCWS_GET_RESULT, 0, $text); $res = self::$_server->execCommand($cmd, XS_CMD_OK_SCWS_RESULT); while ($res->buf !== '') { $tmp = unpack('Ioff/a4attr/a*word', $res->buf); $tmp['word'] ...

14.按字段值分面搜索

...面搜索 分面搜索在英文中通常表述为 `Facets Search`,被检索的数据通具有多维度属性。 例如一本书包含主题、作者、年代等,而分面搜索是指通过事物的这些属性不断筛选、 过滤搜索结果的方法,可以将分面搜索看...

15.XSSearch::setDb

setDb() 方法 public XSSearch setDb(string $name) $name string {return} XSSearch 返回对象本身以支持串接操作 源码: sdk/php/lib/XSSearch.class.php#L475 (显示) public function setDb($name){ $name = strval($name); $this->execCommand(array('cmd' => XS_...

16.XSSearch::addDb

addDb() 方法 public XSSearch addDb(string $name) $name string {return} XSSearch 返回对象本身以支持串接操作 源码: sdk/php/lib/XSSearch.class.php#L492 (显示) public function addDb($name){ $name = strval($name); $this->execCommand(array('cmd' => XS_...

17.XSIndex::getScwsMulti

... (显示) 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);} 获取当前索引库的分词复合等级

18.mysql导入生成索引问题

发布时间:2013-03-04 23:03 t By llkk0914

...?? 行以后,返回什么结果是正确的结果呢 /usr/local/xunsearch/sdk/php/util/Quest.php -p demo -c gbk -q 桌面 --limit=2 返回 Object id #10 0 ../lib/XS.php(2246): XSServer->read(8) 1 ../lib/XS.php(2231): XSServer->getRespond() 2 ../lib/XS.php(2208): XSServer->execCommand(Arr...

19.mysql导入生成索引问题

发布时间:2013-03-04 23:03 t By llkk0914

...?? 行以后,返回什么结果是正确的结果呢 /usr/local/xunsearch/sdk/php/util/Quest.php -p demo -c gbk -q 桌面 --limit=2 返回 Object id #10 0 ../lib/XS.php(2246): XSServer->read(8) 1 ../lib/XS.php(2231): XSServer->getRespond() 2 ../lib/XS.php(2208): XSServer->execCommand(Arr...

20.使用getCorrectedQuery进行纠错出现特殊字符

发布时间:2014-05-23 15:05 t By akado

$case = $search->getCorrectedQuery(‘高’); var_dump($case); array (size=3) 0 => string '高ç é' (length=8) 1 => string '高ç« ' (length=8) 2 => string '高å° ' (length=8) ini是选定的utf-8格式,不知道为什么使用纠错后,会出现以下3种增加了特殊字...

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