搜索

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

251.XSSearch::getFacets

...若不存在或未曾登记过则返回空数组 源码: sdk/php/lib/XSSearch.class.php#L427 (显示) public function getFacets($field = null){ if ($field === null) { return $this->_facets; } return isset($this->_facets[$field]) ? $this->_facets[$field] : array();} 读取最...

252.XSSearch::addSearchLog

addSearchLog() 方法 (自版本 v1.1.1 起可用) public void addSearchLog(string $query, int $wdf=1) $query string 需要记录的数据 $wdf int 需要记录的次数, 默认为 1 源码: sdk/php/lib/XSSearch.class.php#L831 (显示) public function addSearchLog($query,...

253.XSTokenizerScws::hasWord

...tr){ $text = $this->applySetting($text); $cmd = new XSCommand(XS_CMD_SEARCH_SCWS_GET, XS_CMD_SCWS_HAS_WORD, 0, $text, $xattr); $res = self::$_server->execCommand($cmd, XS_CMD_OK_INFO); return $res->buf === 'OK';} 判断是否包含指定词性的词

254.RE: 迅搜报错

更新时间:2011-12-19 13:12 t By icebolt

Uncaught [XSException] ../../xunsearch/sdk/php/lib/XS.php(1970): The revision being read has been discarded - you should call Xapian::Database::reopen() and retry the operation(S#515) thrown in /usr/local/xunsearch/sdk/php/lib/XS.php on line 1970 又报另外一个错误[hr] Fatal error: Uncaught [...

255.XSSearch::setDocOrder

setDocOrder() 方法 public XSSearch setDocOrder(bool $asc=false) $asc bool 是否为正序排列, 即从先到后, 默认为反序 {return} XSSearch 返回对象本身以支持串接操作 源码: sdk/php/lib/XSSearch.class.php#L317 (显示) public function setDocOrder($...

256.搜索单个汉字时,总返回空,例如搜索"我"等

发布时间:2011-11-04 16:11 t By kuday

...roject.default_charset = UTF-8 server.index = 192.168.171.22:8383 server.search = 192.168.171.22:8384 [pid] type = id [itemid] [title] index = mixed [content] type=body cutlen=600 [categoryid] index = self [category] index=none [searchcount] index=none [createtime] ...

257.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_...

258.XSTokenizerScws::setMulti

...de) & self::MULTI_MASK; $this->_setting['multi'] = new XSCommand(XS_CMD_SEARCH_SCWS_SET, XS_CMD_SCWS_SET_MULTI, $mode); return $this;} 设置复合分词选项

259.首页的500万应该是500 million(即500百万=5亿)

发布时间:2012-12-19 13:12 t By chinapubmed

见中文http://www.xunsearch.com/对应的英文 which offered a search over around [color=#FF0000][size=xx-large][u]500 million[/u][/size][/color] web pages 发现似乎文档也是错的:D

260.建议能否增加一个检索过滤接口 SetFilter

更新时间:2012-02-26 23:02 t By stcer

...分面搜索结果(某一顶级分类)进一步过滤搜索 所以建议search对象能否增加一个像sphinx api过滤接口: Prototype: function SetFilter ( $attribute, $values, $exclude=false ) 接口参考:http://sphinxsearch.com/docs/2.0.3/api-func-setfilter.html xunsearch使用比其...

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