搜索

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

161.XSDatabaseSQLite3::query

...} if (!is_object($res)) { $ret = $res; } else { $ret = array(); while ($tmp = $res->fetchArray(SQLITE3_ASSOC)) { $ret[] = $tmp; } $res->finalize(); } return $ret;} 执行 SQL 语句查询

162.XSSearch::setAutoSynonyms

... $flag |= XS_CMD_PARSE_FLAG_AUTO_MULTIWORD_SYNONYMS; } $cmd = array('cmd' => XS_CMD_QUERY_PARSEFLAG, 'arg' => $flag); $this->execCommand($cmd); return $this;} 开启自动同义词搜索功能

163.来源为数据库,更新索引是抛出错误

发布时间:2011-11-14 03:11 t By winsky027

...96): XSServer->getRespond() #2 ../lib/XS.php(1880): XSServer->execCommand(Array, 208) #3 Indexer.php(180): XSServer->setTimeout(1000) #4 {main}

164.测试的时候填充索引数据出问题

发布时间:2012-04-11 17:04 t By zhuhui420

...directoy of the project(S#508) #0 lib/XS.php(2067): XSServer->execCommand(Array, 201) #1 lib/XS.php(2028): XSServer->setProject('demo') #2 lib/XS.php(2011): XSServer->open('8383') #3 lib/XS.php(342): XSServer->__construct('8383', Object(XS)) #4 lib/XS.php(249): XS->getIndex() #5 Indexer.php(15...

165.XS::getSearch

...ic function getSearch(){ if ($this->_search === null) { $conns = array(); if (!isset($this->_config['server.search'])) { $conns[] = 8384; } else { foreach (explode(';', $this->_config['server.search']) as $conn) { $conn = trim($conn); ...

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

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

... 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-rebuild,可以成功建索引,[b]这是怎么回事?[/b] 但是,在data目录下看到的是...

167.XSIndex::setScwsMulti

...level = intval($level); if ($level >= 0 && $level < 16) { $cmd = array('cmd' => XS_CMD_SEARCH_SCWS_SET, 'arg1' => XS_CMD_SCWS_SET_MULTI, 'arg2' => $level); $this->execCommand($cmd); } return $this;} 设置当前索引库的分词复合等级 复合等级是 scws 分词粒...

168.xunsearch安装完成后运行示例错误

更新时间:2011-09-13 17:09 t By nick

...367): xs_error_handler(8, 'Uninitialized s...', '/www/xunsearch/...', 367, Array) #1 lib/XS.php(421): XS->parseIniData('project.name = ...') #2 lib/XS.php(254): XS->loadIniFile('/www/xunsearch/...') #3 util/Indexer.php(120): XS->__construct('/www/xunsearch/...') #4 {main} [root@localhost php]# ...

169.XSSearch::setScwsMulti

...level = intval($level); if ($level >= 0 && $level < 16) { $cmd = array('cmd' => XS_CMD_SEARCH_SCWS_SET, 'arg1' => XS_CMD_SCWS_SET_MULTI, 'arg2' => $level); $this->execCommand($cmd); } return $this;} 设置当前搜索语句的分词复合等级 复合等级是 scws 分词...

170.更新、修改文档

...议使用 `add` 这个 `API`。 示范代码如下: ~~~ [php] $data = array( 'pid' => 234, // 此字段为主键,是进行文档替换的唯一标识 'subject' => '测试文档的标题', 'message' => '测试文档的内容部分', 'chrono' => time() ); // 创建文档对象 $...

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