搜索

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

71.indexer启动错误

发布时间:2012-01-03 22:01 t By dancebear

...0.0.1:8383) INFO: stopping server[xs-searchd] (BIND:127.0.0.1:8384) .... [OK] INFO: re-starting server[xs-searchd] ... (BIND:127.0.0.1:8384) /usr/local/xunsearch/bin/xs-ctl.sh: line 71: 27924 Segmentation fault bin/xs-searchd -l tmp/searchd.log -b $bsearch -k $cmd 但是indexer没有启动...

72.XSSearch::getAllSynonyms

...g1'] = $stemmed == true ? 1 : 0; $res = $this->execCommand($cmd, XS_CMD_OK_RESULT_SYNONYMS); $ret = array(); if (!empty($res->buf)) { foreach (explode("\n", $res->buf) as $line) { $value = explode("\t", $line); $key = array_shift($value); $ret[$key] =...

73.XSSearch::getCorrectedQuery

...T_CORRECTED, 'buf' => $buf); $res = $this->execCommand($cmd, XS_CMD_OK_QUERY_CORRECTED); if ($res->buf !== '') { $ret = explode("\n", XS::convert($res->buf, $this->_charset, 'UTF-8')); } } catch (XSException $e) { if ($e->getCode() != XS_CMD_ERR_XAPIAN) { ...

74.使用工具导出xdb后出错

发布时间:2011-09-21 16:09 t By lwliangma

...ce: Uninitialized string offset: 1 in C:\php\make_xdb_file.php on line 52 OK, Total words=378585 Inserting [00/64] ... PHP Notice: Undefined index: part in C:\php\make_xdb_file .php on line 92 Notice: Undefined index: part in C:\php\make_xdb_file.php on line 92 PHP Notice: Undefined index: ...

75.建议过滤器能更加方便的进行配置

发布时间:2013-07-02 16:07 t By yestar

...有时候需要对数据进行过滤。根据官方的文档进行操作是OK。 但是感觉有点小麻烦。 每次导入的时候都需要指定过滤器。 比如 当我导入数据的时候需要输入 ./util/Indexer.php --rebuild --source=mysql://root:123456@localhost/cusabio --sql="SEL...

76.php5.3.3 scws_get_result有警告,并得不到分析结果,麻烦看一下

发布时间:2010-11-30 13:11 t By starjiang

php5.3.3 scws_get_result有警告,并得不到分析结果,麻烦看一下 $res = scws_get_result($cws) Warning: scws_get_result() expects exactly 2 parameters, 1 given in /data/web/htdocs/scws.php on line 54 我这样用就OK,并且有结果返回 $res = scws_get_result($cws,null)

77.RE: hi hightman, scws_ext cant be run on x64!!!??

更新时间:2010-12-20 20:12 t By postwhere

...pear many desprecat warning, but the lib can be compiled and test-case run ok:)

78.同义词搜索

...设置 `您好` 为 _hello world_ 的同义词,那么检索 _hello world ok_ 时也会匹配同时包含 `您好` 和 `ok` 的记录。 管理同义词库 ------------ 您可以通过 [XSIndex::addSynonym] 和 [XSIndex::delSynonym] 来添加和删除同义词记录。 多次调用这两个...

79.安装报错,谁能帮忙看看

发布时间:2014-05-08 17:05 t By solomon

...al/xunsearch [Y/n]y Checking scws ... 1.2.3-dev Checking scws dict ... ok Checking libuuid ... yes: /usr/local/xunsearch Checking xapian-core-scws ... 1.2.15 Checking libevent ... 2.0.21-stable Extracting xunsearch package (1.4.8) ... Configuring xunsearch ... Compiling & installing xunsea...

80.XSSearch

... $cmd['buf1'] = pack('i', $wdf); } $this->execCommand($cmd, XS_CMD_OK_LOGGED);} 添加搜索日志关键词到缓冲区里 需要调用 XSIndex::flushLogging 才能确保立即刷新, 否则要隔一段时间 addWeight() 方法 public XSSearch addWeight(string $field, string $t...

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