搜索

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

121.XSException 异常

...型的处理代码应类似下面的方式: ~~~ [php] require '$prefix/sdk/php/lib/XS.php'; try { $xs = new XS('demo'); $docs = $xs->search->setQuery('hightman')->setLimit(5)->search(); foreach ($docs as $doc) { echo $doc->rank() . ". " . $doc->subject . " [" . $doc->percen...

122.XSSearch::setFuzzy

... {return} XSSearch 返回对象本身以支持串接操作 源码: sdk/php/lib/XSSearch.class.php#L84 (显示) public function setFuzzy($value = true){ $this->_defaultOp = $value === true ? XS_CMD_QUERY_OP_OR : XS_CMD_QUERY_OP_AND; return $this;} 开启模糊搜索 默认情况只...

123.XSSearch::addQueryString

...0.xx ~ 655.35 {return} string 修正后的搜索语句 源码: sdk/php/lib/XSSearch.class.php#L949 (显示) public function addQueryString($query, $addOp = XS_CMD_QUERY_OP_AND, $scale = 1){ $query = $this->preQueryString($query); $bscale = ($scale > 0 && $scale != 1) ? pack('n', i...

124.关于使用过程的权限控制问题

发布时间:2014-08-31 14:08 t By kaikai

在使用/demo/search.php 搜索的时候,出现的。权限需要怎么解决? 错误:[XSException] ../../../../usr/local/xunsearch/sdk/php/lib/XS.php(2481): Permission denied(C#13, localhost:8384)

125.XSSearch::setSynonymScale

... {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)); $cmd = new XSCommand(XS_CMD_SEARCH_SET_MISC, ...

126.XSIndex::addSynonym

... {return} XSIndex 返回自身对象以支持串接操作 源码: sdk/php/lib/XSIndex.class.php#L283 (显示) public function addSynonym($raw, $synonym){ $raw = strval($raw); $synonym = strval($synonym); if ($raw !== '' && $synonym !== '') { $cmd = new XSCommand(XS_CMD_INDE...

127.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->_rebuild = true; return $this;} 开...

128.XSServer::__destruct

__destruct() 方法 public void __destruct() 源码: sdk/php/lib/XSServer.class.php#L154 (显示) public function __destruct(){ $this->xs = null; $this->close();} 析构函数, 关闭连接

129.搜索时出现错误

发布时间:2011-12-07 11:12 t By adminlink

错误:[XSException] ../../../../usr/local/xunsearch/sdk/php/lib/XS.php(2080): Permission denied(C#13)

130.迅搜报错

发布时间:2011-12-13 16:12 t By icebolt

Uncaught [XSException] ../../xunsearch/sdk/php/lib/XS.php(2043): Failed to recv the data from server completely 报这个错误,不知道问题在哪

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