搜索

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

201.XSSearch::getExpandedQuery

...搜索词组成的数组 源码: sdk/php/lib/XSSearch.class.php#L755 (显示) public function getExpandedQuery($query, $limit = 10){ $ret = array(); $limit = max(1, min(20, intval($limit))); try { $buf = XS::convert($query, 'UTF-8', $this->_charset); $cmd = array('cmd' =>...

202.XSSearch::addRange

...身以支持串接操作 源码: sdk/php/lib/XSSearch.class.php#L349 (显示) public function addRange($field, $from, $to){ if ($from === '' || $from === false) { $from = null; } if ($to === '' || $to === false) { $to = null; } if ($from !== null || $to !== null) { ...

203.XSIndex::addExdata

...象以支持串接操作 源码: sdk/php/lib/XSIndex.class.php#L253 (显示) public function addExdata($data, $check_file = true){ if (strlen($data) < 255 && $check_file && file_exists($data) && ($data = file_get_contents($data)) === false) { throw new XSException('Failed t...

204.XSIndex::del

...象以支持串接操作 源码: sdk/php/lib/XSIndex.class.php#L220 (显示) public function del($term, $field = null){ // get field $field = $field === null ? $this->xs->getFieldId() : $this->xs->getField($field); // get commands $cmds = array(); $terms = is_array($term) ? array...

205.XSServer::execCommand

...应的 XSCommand 对象 源码: sdk/php/lib/XSServer.class.php#L279 (显示) public function execCommand($cmd, $res_arg = XS_CMD_NONE, $res_cmd = XS_CMD_OK){ // create command object if (!$cmd instanceof XSCommand) { $cmd = new XSCommand($cmd); } // just cache the cmd for tho...

206.XSFieldMeta::toConfig

...置文件字符串 源码: sdk/php/lib/XSFieldScheme.class.php#L452 (显示) public function toConfig(){ // type $str = "[" . $this->name . "]\n"; if ($this->type === self::TYPE_NUMERIC) { $str .= "type = numeric\n"; } elseif ($this->type === self::TYPE_DATE) { $str .=...

207.XSFieldMeta::fromConfig

...配置属性数组 源码: sdk/php/lib/XSFieldScheme.class.php#L514 (显示) public function fromConfig($config){ // type & default setting if (isset($config['type'])) { $predef = 'self::TYPE_' . strtoupper($config['type']); if (defined($predef)) { $this->type = c...

208.XSSearch::search

...搜索结果文档列表 源码: 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 ? '' : $this->preQueryString...

209.Xunsearch SDK for PHP

...象,可以集成到 debug 模块中, 可在调试工具条和面板中显示 `xunsearch` 有关的查询以及耗时情况。 要想启用这个很容易,只要在主配置文件中加入以下代码: ```php // ... 'bootstrap' => ['debug'], 'modules' => [ 'debug' => [ ...

210.XSIndex::update

...对象以支持串接操作 源码: 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 $fid = $this->xs->getFieldId()...

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