搜索

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

171.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...

172.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...

173.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;} 重写接口...

174.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...

175.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...

176.获取索引对象就报错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,还请高手多多指教

177.XSDocument::__get

...称 {return} mixed 字段值, 若不存在返回 null 源码: sdk/php/lib/XSDocument.class.php#L79 (显示) public function __get($name){ if (!isset($this->_data[$name])) { return null; } return $this->autoConvert($this->_data[$name]);} 魔术方法 __get 实现以...

178.XSFieldMeta::val

...$value mixed 原值 {return} mixed 转换后的值 源码: sdk/php/lib/XSFieldScheme.class.php#L320 (显示) public function val($value){ if ($this->type == self::TYPE_DATE) { // 日期类型: 转换成专用的 YYYYmmdd 格式 if (!is_numeric($value) || strlen($val...

179.XSIndex::setDb

... {return} XSIndex 返回自身对象以支持串接操作 源码: sdk/php/lib/XSIndex.class.php#L439 (显示) public function setDb($name){ $this->execCommand(array('cmd' => XS_CMD_INDEX_SET_DB, 'buf' => $name), XS_CMD_OK_DB_CHANGED); return $this;} 更改存放索引数据的目...

180.XSFieldScheme::getFieldTitle

...Title() {return} XSFieldMeta 类型为 TITLE 的字段 源码: sdk/php/lib/XSFieldScheme.class.php#L59 (显示) public function getFieldTitle(){ if (isset($this->_typeMap[XSFieldMeta::TYPE_TITLE])) { $name = $this->_typeMap[XSFieldMeta::TYPE_TITLE]; return $this->_field...

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