搜索

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

201.XSSearch::addWeight

...} 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, $weight);} 添加权重索引词 无论是否包含这...

202.XSSearch::setFacets

...} XSSearch 返回对象本身以支持串接操作 源码: sdk/php/lib/XSSearch.class.php#L401 (显示) public function setFacets($field, $exact = false){ $buf = ''; if (!is_array($field)) { $field = array($field); } foreach ($field as $name) { $ff = $this->xs->get...

203.XSSearch::search

...rn} XSDocument[] 匹配的搜索结果文档列表 源码: sdk/php/lib/XSSearch.class.php#L572 (显示) public function search($query = null, $saveHighlight = true){ if ($this->_curDb !== self::LOG_DB && $saveHighlight) { $this->_highlight = $query; } $query = $query === nul...

204.RE: 用API导入索引出错

发布时间:2014-08-04 16:08 t By yangxiaolong

[quote='诸爱恋丶bobo' pid='8345' dateline='1404884529'] Fatal error: Uncaught [XSException] ../..(2369): Failed to create home directoy of the project(S#508) thrown in F:\##\##\plugin\xunsearch\lib\XS.php on line 2369 权限已经是777了。请问是什么原因导致的 [/quote]

205.XSServer::close

...否由于 IO 错误引起的, 以免发送 quit 指令 源码: sdk/php/lib/XSServer.class.php#L198 (显示) public function close($ioerr = false){ if ($this->_sock && !($this->_flag & self::BROKEN)) { if (!$ioerr && $this->_sendBuffer !== '') { $this->write($this->_sendBuff...

206.XSSearch::setDb

...} 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($name))); $this->_lastDb = $this->_curDb; $this->_...

207.生成了索引库后,直接删除了索引文件,出现错误,怎么清空这个项目的所有数据

发布时间:2011-11-11 09:11 t By limingyao

生成了索引库后,直接删除了索引文件,出现错误,怎么清空这个项目的所有数据,现在执行 [php] util/Indexer.php --source=csv changnetv8 --clean[/php] 时, 报[php][XSException] lib/XS.php(1898): DB has been rebuilding(S#407)[/php] 错误

208.XSComponent::__get

...string 属性名称 {return} mixed 属性值 源码: sdk/php/lib/XS.class.php#L182 (显示) public function __get($name){ $getter = 'get' . $name; if (method_exists($this, $getter)) { return $this->$getter(); } // throw exception $msg = method_exists($this, 'set'...

209.XSErrorException::__construct

...t 出错所在的行数 $previous Exception 源码: sdk/php/lib/XS.class.php#L134 (显示) public function __construct($code, $message, $file, $line, $previous = null){ $this->_file = $file; $this->_line = $line; if (version_compare(PHP_VERSION, '5.3.0', '>=')) { pare...

210.XSIndex::update

...n} XSIndex 返回自身对象以支持串接操作 源码: sdk/php/lib/XSIndex.class.php#L85 (显示) public function update(XSDocument $doc, $add = false){ // before submit if ($doc->beforeSubmit($this) === false) { return $this; } // check primary key of document $fi...

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