搜索

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

131.XSServer::setProject

...(不得超过255字节). 源码: sdk/php/lib/XSServer.class.php#L251 (显示) public function setProject($name, $home = ''){ if ($name !== $this->_project) { $cmd = array('cmd' => XS_CMD_USE, 'buf' => $name, 'buf1' => $home); $this->execCommand($cmd, XS_CMD_OK_PROJECT); ...

132.XSDocument::addIndex

... string 文本内容 源码: sdk/php/lib/XSDocument.class.php#L256 (显示) public function addIndex($field, $text){ $field = strval($field); if (!is_array($this->_texts)) { $this->_texts = array(); } if (!isset($this->_texts[$field])) { $this->_texts[$field] = strv...

133.XSIndex::flushIndex

...rue, 失败则返回 false 源码: sdk/php/lib/XSIndex.class.php#L466 (显示) public function flushIndex(){ try { $this->execCommand(XS_CMD_INDEX_COMMIT, XS_CMD_OK_DB_COMMITED); } catch (XSException $e) { if ($e->getCode() === XS_CMD_ERR_BUSY || $e->getCode() === XS_CMD_ERR...

134.XSSearch::setFuzzy

...身以支持串接操作 源码: 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;} 开启模糊搜索 默认情况只返回包含所有搜索词的记录, ...

135.RE: 能否提供个hdwiki的html的过滤器和ini文件呢?

发布时间:2012-11-27 19:11 t By chinapubmed

...ocal/xunsearch/sdk/php/lib/MyBlogFilter --project=go >log.txt 然后仍然显示”忽略错误的过滤器“,我查了下感觉没啥问题啊。怎么老忽略呢?谢谢! 并且我用了您在文档中定义的过滤器, 即: class XSXyzFilter implements XSDataFilter { public fun...

136.XSServer::hasRespond

... true, 否则返回 false 源码: sdk/php/lib/XSServer.class.php#L350 (显示) public function hasRespond(){ // check socket if ($this->_sock === null || $this->_flag & (self::BROKEN | self::FILE)) { return false; } $wfds = $xfds = array(); $rfds = array($this->_sock); ...

137.XSDocument::setField

...否为元数据字段 源码: sdk/php/lib/XSDocument.class.php#L170 (显示) public function setField($name, $value, $isMeta = false){ if ($value === null) { if ($isMeta) { unset($this->_meta[$name]); } else { unset($this->_data[$name]); } } else...

138.XSDocument::__set

...alue mixed 字段值 源码: sdk/php/lib/XSDocument.class.php#L93 (显示) public function __set($name, $value){ if ($this->_meta !== null) { throw new XSException('Magick property of result document is read-only'); } $this->setField($name, $value);} 魔术方法 __set ...

139.XSDocument::getAddTerms

...), 若无则返回 null 源码: sdk/php/lib/XSDocument.class.php#L202 (显示) public function getAddTerms($field){ $field = strval($field); if ($this->_terms === null || !isset($this->_terms[$field])) { return null; } $terms = array(); foreach ($this->_terms[$field] as $t...

140.XSFieldScheme::checkValid

...效则返回 false 源码: sdk/php/lib/XSFieldScheme.class.php#L175 (显示) public function checkValid($throw = false){ if (!isset($this->_typeMap[XSFieldMeta::TYPE_ID])) { if ($throw) { throw new XSException('Missing field of type ID'); } return false; } ...

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