搜索

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

281.XSTokenizerScws::setDuality

...n} XSTokenizerScws 返回对象本身以支持串接操作 源码: sdk/php/lib/XSTokenizer.class.php#L316 (显示) public function setDuality($yes = true){ $this->_setting['duality'] = new XSCommand(XS_CMD_SEARCH_SCWS_SET, XS_CMD_SCWS_SET_DUALITY, $yes === false ? ...

282.XSDocument::setFields

...y $data) $data array 字段名及其值组成的数组 源码: sdk/php/lib/XSDocument.class.php#L154 (显示) public function setFields($data){ if ($data === null) { $this->_data = array(); $this->_meta = $this->_terms = $this->_texts = null; } else { $this->_...

283.XSSearch::setCharset

... {return} XSSearch 返回对象本身以支持串接操作 源码: sdk/php/lib/XSSearch.class.php#L69 (显示) public function setCharset($charset){ $this->_charset = strtoupper($charset); if ($this->_charset == 'UTF8') { $this->_charset = 'UTF-8'; } return $this;} ...

284.XSSearch::setQuery

... {return} XSSearch 返回对象本身以支持串接操作 源码: sdk/php/lib/XSSearch.class.php#L227 (显示) public function setQuery($query){ $this->clearQuery(); if ($query !== null) { $this->_query = $query; $this->addQueryString($query); } return $this;} ...

285.XSIndex::getScwsMulti

...ti() {return} int 返回当前库的分词复合等级 源码: sdk/php/lib/XSIndex.class.php#L347 (显示) public function getScwsMulti(){ $cmd = array('cmd' => XS_CMD_SEARCH_SCWS_GET, 'arg1' => XS_CMD_SCWS_GET_MULTI); $res = $this->execCommand($cmd, XS_CMD_OK_INFO); return int...

286.XSIndex::endRebuild

... {return} XSIndex 返回自身对象以支持串接操作 源码: sdk/php/lib/XSIndex.class.php#L404 (显示) public function endRebuild(){ if ($this->_rebuild === true) { $this->_rebuild = false; $this->execCommand(array('cmd' => XS_CMD_INDEX_REBUILD, 'arg1' => 1), XS_CMD...

287.XSDocument::beforeSubmit

...ue, 若返回 false 将阻止该文档提交到索引服务器 源码: sdk/php/lib/XSDocument.class.php#L331 (显示) public function beforeSubmit(XSIndex $index){ if ($this->_charset === null) { $this->_charset = $index->xs->getDefaultCharset(); } return true;} 重写接口...

288.XSDocument::getIterator

getIterator() 方法 public void getIterator() 源码: sdk/php/lib/XSDocument.class.php#L272 (显示) public function getIterator(){ if ($this->_charset !== null && $this->_charset !== 'UTF-8') { $from = $this->_meta === null ? $this->_charset : 'UTF-8'; $to = $this->_me...

289.XSServer::getRespond

...tRespond() {return} XSCommand 成功返回响应指令 源码: sdk/php/lib/XSServer.class.php#L334 (显示) public function getRespond(){ // read data from server $buf = $this->read(8); $hdr = unpack('Ccmd/Carg1/Carg2/Cblen1/Iblen', $buf); $res = new XSCommand($hdr); $res...

290.获取索引对象就报错supplied argument is not a valid stream resource

更新时间:2012-08-09 17:08 t By blueo

...[type] => title ) ) ) Fatal error: Uncaught [XSErrorException] xunsearch/sdk/php/lib/XS.php(2207): stream_set_blocking(): supplied argument is not a valid stream resource(2) thrown in /home/wwwroot/xunsearch/sdk/php/lib/XS.php on line 504 刚接触xunsearch,还请高手多多指教

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