搜索

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

131.XSSearch::addDb

... 返回对象本身以支持串接操作 源码: sdk/php/lib/XSSearch.class.php#L492 (显示) public function addDb($name){ $name = strval($name); $this->execCommand(array('cmd' => XS_CMD_SEARCH_ADD_DB, 'buf' => $name)); $this->_curDbs[] = $name; return $this;} 添加搜索的...

132.XSSearch::search

...ent[] 匹配的搜索结果文档列表 源码: 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 === null ? '' : $thi...

133.XSComponent::__isset

...rn} bool 若存在为 true, 反之为 false 源码: sdk/php/lib/XS.class.php#L221 (显示) public function __isset($name){ return method_exists($this, 'get' . $name);} 魔术方法 __isset 判断模拟属性是否存在并可读取

134.XSSearch::getAllSynonyms

...为键, 同义词条组成的数组为值 源码: sdk/php/lib/XSSearch.class.php#L164 (显示) public function getAllSynonyms($limit = 0, $offset = 0, $stemmed = false){ $page = $limit > 0 ? pack('II', intval($offset), intval($limit)) : ''; $cmd = array('cmd' => XS_CMD_SEARCH_GET_SYNONYMS...

135.XSDocument::beforeSubmit

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

136.XSDocument::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->_meta === null ? ...

137.XSJsonDataSource

...ges | 属性 | 方法(函数) 包 XS.util 继承关系 class XSJsonDataSource » XSDataSource 版本 1.0.0 源代码 sdk/php/util/XSDataSource.class.php JSON 数据源 要求以 \n (换行符) 分割, 每行为一条完整的 json 数据 Public 属性 隐去...

138.XSSearch::setFacets

... 返回对象本身以支持串接操作 源码: 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->getField($name);...

139.XSSearch::addWeight

... 返回对象本身以支持串接操作 源码: 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);} 添加权重索引词 无论是否包含这种词都不影...

140.XSServer::close

...错误引起的, 以免发送 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->_sendBuffer); ...

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