搜索

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

71.XSSearch::addWeight

...$weight float 权重计算缩放比例 {return} XSSearch 返回对象本身以支持串接操作 源码: sdk/php/lib/XSSearch.class.php#L386 (显示) public function addWeight($field, $term, $weight = 1){ return $this->addQueryTerm($field, $term, XS_CMD_QUERY_OP_AND_MAYBE, $weigh...

72.XSSearch::setLimit

...量, 即跳过的结果数量, 默认为 0 {return} XSSearch 返回对象本身以支持串接操作 源码: sdk/php/lib/XSSearch.class.php#L461 (显示) public function setLimit($limit, $offset = 0){ $this->_limit = intval($limit); $this->_offset = intval($offset); return $thi...

73.XSSearch::setSynonymScale

... 取值范围 0.01-2.55, 1 表示不调整 {return} XSSearch 返回对象本身以支持串接操作 源码: sdk/php/lib/XSSearch.class.php#L147 (显示) public function setSynonymScale($value){ $arg1 = XS_CMD_SEARCH_MISC_SYN_SCALE; $arg2 = max(0, (intval($value * 100) & 255)); ...

74.XSIndex::beginRebuild

... public XSIndex beginRebuild() {return} XSIndex 返回自身对象以支持串接操作 源码: sdk/php/lib/XSIndex.class.php#L391 (显示) public function beginRebuild(){ $this->execCommand(array('cmd' => XS_CMD_INDEX_REBUILD, 'arg1' => 0), XS_CMD_OK_DB_REBUILD); $this->_re...

75.XSIndex::stopRebuild

...) public XSIndex stopRebuild() {return} XSIndex 返回自身对象以支持串接操作 源码: sdk/php/lib/XSIndex.class.php#L420 (显示) public function stopRebuild(){ try { $this->execCommand(array('cmd' => XS_CMD_INDEX_REBUILD, 'arg1' => 2), XS_CMD_OK_DB_REBUILD); ...

76.$search->addRange空条件必须设置为null

发布时间:2012-02-23 16:02 t By Dull

...->addRange('size','',$size); 习惯性用到的''则不行 必须为null对象 希望遇到这个问题的同仁少走弯路 哈 检查代码多次 文档上才发现 http://www.xunsearch.com/doc/php/api/XSSearch#addRange-detail :D

77.如何接入word/excle/pdf或ppt等相关文档呢?

发布时间:2012-08-13 09:08 t By sandand

如何接入word/excle/pdf或ppt等相关文档呢? 就是如何将这些文档中的内容作为搜索的对象,进行索引、关键词搜索等 有没有高手回答一下,如何做?多谢啦!!!!

78.XSSearch::setDocOrder

...排列, 即从先到后, 默认为反序 {return} XSSearch 返回对象本身以支持串接操作 源码: sdk/php/lib/XSSearch.class.php#L317 (显示) public function setDocOrder($asc = false){ $type = XS_CMD_SORT_TYPE_DOCID | ($asc ? XS_CMD_SORT_FLAG_ASCENDING : 0); $cmd = new X...

79.RE: 分面功能的search()

发布时间:2012-01-11 10:01 t By hightman

... $this->logQuery(); } 的代码,在开启了分面功能时,$tmp对象在获取分面数据时被重置了,运行到上面的代码时,大家都没有出错?(php5.2.9) [/quote] en,这是BUG,多谢汇报,修改成 $this->_count = $this->_lastCount; 就可以了...

80.XSSearch::setDb

... 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_CMD_SEARCH_SET_DB, 'buf' => strval($n...

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