搜索

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

51.XSSearch

...md = array('cmd' => XS_CMD_SEARCH_GET_SYNONYMS, 'buf1' => $page); $cmd['arg1'] = $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...

52.RE: 迅搜报错

发布时间:2012-01-30 20:01 t By hightman

...cal/xunse/sdk/php/lib/XS.php(1464): Unexpected respond in search {CMD:129, ARG:514} 还是该错误 已更新和设置 无法解决 [/quote] 这个错是数据库没有准备就绪吧,是不是你还没有导入任何数据就尝试开始检索了? 或者贴上你的代码和目前...

53.XSCsvDataSource

... 隐去继承来的属性 名称类型描述定义于 arg XSDataSource inCli XSDataSource type XSDataSource Public 方法 隐去继承来的方法 名称描述定义于 __construct() 构造函数 XSDataSource getCha...

54.XSIndex::getScwsMulti

...function getScwsMulti(){ $cmd = array('cmd' => XS_CMD_SEARCH_SCWS_GET, 'arg1' => XS_CMD_SCWS_GET_MULTI); $res = $this->execCommand($cmd, XS_CMD_OK_INFO); return intval($res->buf);} 获取当前索引库的分词复合等级

55.XSIndex::endRebuild

...d = false; $this->execCommand(array('cmd' => XS_CMD_INDEX_REBUILD, 'arg1' => 1), XS_CMD_OK_DB_REBUILD); } return $this;} 完成并关闭重建索引 重建完成后调用, 用重建好的索引数据代替旧的索引数据

56.XSTokenizerScws

...方法明细 __construct() 方法 public void __construct(string $arg=NULL) $arg string 复合等级参数,默认不指定 源码: sdk/php/lib/XSTokenizer.class.php#L188 (显示) public function __construct($arg = null){ if (self::$_server === null) { $xs = XS::getL...

57.测试环境运行了几天,昨天出现一个错误

更新时间:2011-12-19 14:12 t By KnightE

cmd:109, args: 515 分别对应CMD_ERR和CMD_ERR_XAPIAN fastrestart后恢复 还是想知道下具体原因来避免。[hr] 不是所有query都会出错,查询条件、格式都一致,但个别关键词会报这个错误(之前都是好的,fastrestart后也好了)

58.这三个错误怎么解决?

更新时间:2012-05-29 21:05 t By Mr.

...nternal Error(S#600) XS.php(1550): Unexpected respond in search {CMD:129, ARG:600} quit, IO error (ERROR:Broken pipe): XS.php(2165): Failed to recv the data from server completely (SIZE:0/8, REASON:timeout) quit, IO timeout (TIMEOUT:5): XS.php(2165): Failed to recv the data from server ...

59.XSIndex::beginRebuild

...eginRebuild(){ $this->execCommand(array('cmd' => XS_CMD_INDEX_REBUILD, 'arg1' => 0), XS_CMD_OK_DB_REBUILD); $this->_rebuild = true; return $this;} 开始重建索引 此后所有的索引更新指令将写到临时库, 而不是当前搜索库, 重建完成后调用 endRebuild 实现平...

60.XSIndex::stopRebuild

...{ try { $this->execCommand(array('cmd' => XS_CMD_INDEX_REBUILD, 'arg1' => 2), XS_CMD_OK_DB_REBUILD); $this->_rebuild = false; } catch (XSException $e) { if ($e->getCode() !== XS_CMD_ERR_WRONGPLACE) { throw $e; } } return $this;} 中止索引重...

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