搜索

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

31.XSSearch::getQuery

...uery = $query === null ? '' : $this->preQueryString($query); $cmd = new XSCommand(XS_CMD_QUERY_GET_STRING, 0, $this->_defaultOp, $query); $res = $this->execCommand($cmd, XS_CMD_OK_QUERY_STRING); if (strpos($res->buf, 'VALUE_RANGE') !== false) { $regex = '/(VALUE_RANGE) (\d+) (\S+) (....

32.XSTokenizerScws::getTops

... $words = array(); $text = $this->applySetting($text); $cmd = new XSCommand(XS_CMD_SEARCH_SCWS_GET, XS_CMD_SCWS_GET_TOPS, $limit, $text, $xattr); $res = self::$_server->execCommand($cmd, XS_CMD_OK_SCWS_TOPS); while ($res->buf !== '') { $tmp = unpack('Itimes/a4attr/a*word', $res...

33.XSSearch::addQueryTerm

...dScheme::MIXED_VNO : $this->xs->getField($field, true)->vno; $cmd = new XSCommand(XS_CMD_QUERY_TERM, $addOp, $vno, $term, $bscale); $this->execCommand($cmd); return $this;} 增加默认搜索词汇

34.XSSearch::addQueryString

... > 0 && $scale != 1) ? pack('n', intval($scale * 100)) : ''; $cmd = new XSCommand(XS_CMD_QUERY_PARSE, $addOp, $this->_defaultOp, $query, $bscale); $this->execCommand($cmd); return $query;} 增加默认搜索语句

35.XSSearch::search

... ? $this->_limit : self::PAGE_SIZE); // get result header $cmd = new XSCommand(XS_CMD_SEARCH_GET_RESULT, 0, $this->_defaultOp, $query, $page); $res = $this->execCommand($cmd, XS_CMD_OK_RESULT_BEGIN); $tmp = unpack('Icount', $res->buf); $this->_lastCount = $tmp['count']; // load vno...

36.XSSearch::setMultiSort

... $type |= XS_CMD_SORT_FLAG_ASCENDING; } $cmd = new XSCommand(XS_CMD_SEARCH_SET_SORT, $type, 0, $buf); $this->execCommand($cmd); } return $this;} 设置多字段组合排序方式 当您需要根据多个字段的值按不同的方式综合排序时, 请使用...

37.XSIndex::del

...>getDefaultCharset()); foreach ($terms as $term) { $cmds[] = new XSCommand(XS_CMD_INDEX_REMOVE, 0, $field->vno, strtolower($term)); } // combine multi commands into exdata if ($this->_bufSize > 0) { $this->appendBuffer(implode('', $cmds)); } elseif (count($cmds) == 1) { ...

38.XSComponent

... 包 XS 继承关系 class XSComponent 子类 XS, XSCommand, XSServer 版本 1.0.0 源代码 sdk/php/lib/XS.class.php XS 组件基类 封装一些魔术方法, 以实现支持模拟属性 模拟属性通过定义读取函数, 写入函数来实现, 允许两...

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