搜索

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

41.XSIndex::beginRebuild

...ild() 方法 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); ...

42.XSIndex::stopRebuild

...3.4 起可用) 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_D...

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

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

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

44.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 =...

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

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

...te='ixulf' pid='419' dateline='1326246489'] 在SDK中,search函数,在返回代码附近有: if ($query === '') { $this->_count = $tmp['count']; $this->logQuery(); } 的代码,在开启了分面功能时,$tmp对象在获取分面数据时被重置了,运行到上面的...

46.XSSearch::setDb

...Search 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' => str...

47.XSTokenizerScws::setMulti

..._DUALITY|SCWS_MULTI_ZMAIN|SCWS_MULTI_ZALL {return} XSTokenizerScws 返回对象本身以支持串接操作 源码: sdk/php/lib/XSTokenizer.class.php#L270 (显示) public function setMulti($mode = 3){ $mode = intval($mode) & self::MULTI_MASK; $this->_setting['multi'] = new XSComman...

48.XSIndex::openBuffer

... int 缓冲区大小, 单位: MB 默认为 4MB {return} XSIndex 返回自身对象以支持串接操作 源码: sdk/php/lib/XSIndex.class.php#L362 (显示) public function openBuffer($size = 4){ if ($this->_buf !== '') { $this->addExdata($this->_buf, false); } $this->...

49.XSSearch::setCutOff

...的文档, 值范围 0.1-25.5, 0 表示不剔除 {return} XSSearch 返回对象本身以支持串接操作 源码: sdk/php/lib/XSSearch.class.php#L98 (显示) public function setCutOff($percent, $weight = 0){ $percent = max(0, min(100, intval($percent))); $weight = max(0, (intval(...

50.XSSearch::setAutoSynonyms

...义词功能, 设为 false 关闭同义词功能 {return} XSSearch 返回对象本身以支持串接操作 源码: sdk/php/lib/XSSearch.class.php#L129 (显示) public function setAutoSynonyms($value = true){ $flag = XS_CMD_PARSE_FLAG_BOOLEAN | XS_CMD_PARSE_FLAG_PHRASE | XS_CMD_PARSE_...

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