搜索

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

51.导入 mysql 数据源的问题

更新时间:2011-09-20 16:09 t By tisswb

...bk编码的话 是不是命令里面要加上 -c gbk [hr] [XSException] lib/XS.php(1834): Failed to create home directoy of the project(S#508) #0 ../phplib/XS.php(1809): XSServer->execCommand(Array, 201) #1 ../phplib/XS.php(1770): XSServer->setProject('discuz') #2 ../phplib/XS.php(1753): XSSer...

52.XSTokenizer

...TokenizerXlen, XSTokenizerXstep 版本 1.0.0 源代码 sdk/php/lib/XSTokenizer.class.php 自定义字段词法分析器接口 系统将按照 getTokens 返回的词汇列表对相应的字段建立索引 Public 方法 隐去继承来的方法 名称描述定义于...

53.XSSearch::addQueryTerm

...} XSSearch 返回对象本身以支持串接操作 源码: sdk/php/lib/XSSearch.class.php#L968 (显示) public function addQueryTerm($field, $term, $addOp = XS_CMD_QUERY_OP_AND, $scale = 1){ $term = strtolower($term); $term = XS::convert($term, 'UTF-8', $this->_charset); $bscale = ...

54.XSSearch::setMultiSort

...} XSSearch 返回对象本身以支持串接操作 源码: sdk/php/lib/XSSearch.class.php#L246 (显示) public function setMultiSort($fields, $reverse = false, $relevance_first = false){ if (!is_array($fields)) { return $this->setSort($fields, !$reverse, $relevance_first); } ...

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

56.XSIndex::del

...n} XSIndex 返回自身对象以支持串接操作 源码: 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(); $t...

57.XSIndex::addSynonym

...n} XSIndex 返回自身对象以支持串接操作 源码: sdk/php/lib/XSIndex.class.php#L283 (显示) public function addSynonym($raw, $synonym){ $raw = strval($raw); $synonym = strval($synonym); if ($raw !== '' && $synonym !== '') { $cmd = new XSCommand(XS_CMD_INDEX_SYNONY...

58.咨询2个建索引的问题

发布时间:2013-05-29 16:05 t By coos

...x86_64 1、我使用--rebuild建索引,会提示: [XSException] ../lib/XS.php(2233): DB has been rebuilding(S#407) #0 ../lib/XS.php(1198): XSServer->execCommand(Array, 257) #1 Indexer.php(241): XSIndex->beginRebuild() #2 {main} [b]这是咋回事?[/b] 2、我又换成--stop-rebuil...

59.XSSearch::setSynonymScale

...} XSSearch 返回对象本身以支持串接操作 源码: sdk/php/lib/XSSearch.class.php#L147 (显示) public function setSynonymScale($value){ $arg1 = XS_CMD_SEARCH_MISC_SYN_SCALE; $arg2 = max(0, (intval($value * 100) & 255)); $cmd = new XSCommand(XS_CMD_SEARCH_SET_MISC, $arg1, $...

60.XS::getSearch

...tSearch() {return} XSSearch 搜索操作对象 源码: sdk/php/lib/XS.class.php#L431 (显示) public function getSearch(){ if ($this->_search === null) { $conns = array(); if (!isset($this->_config['server.search'])) { $conns[] = 8384; } else { ...

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