搜索

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

61.导入 mysql 数据源的问题

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

... 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): XSServer->open(8383) #3 ../phplib/XS.php(300): XSServer->__construct(8383, Object(XS)) #4 ../phplib/XS.php(222):...

62.XSTokenizerScws

...RCH_SCWS_GET, XS_CMD_SCWS_GET_RESULT, 0, $text); $res = self::$_server->execCommand($cmd, XS_CMD_OK_SCWS_RESULT); while ($res->buf !== '') { $tmp = unpack('Ioff/a4attr/a*word', $res->buf); $tmp['word'] = XS::convert($tmp['word'], self::$_charset, 'UTF-8'); $words[] = $tmp;...

63.XSSearch::setSort

... $cmd = new XSCommand(XS_CMD_SEARCH_SET_SORT, $type, $vno); } $this->execCommand($cmd); return $this;} 设置搜索结果的排序方式 注意, 每当调用 setDb 或 addDb 修改当前数据库时会重置排序设定 此函数第一参数的用法与 setMultiSort 兼容, 即也可以...

64.XSSearch::getExpandedQuery

...QUERY_GET_EXPANDED, 'arg1' => $limit, 'buf' => $buf); $res = $this->execCommand($cmd, XS_CMD_OK_RESULT_BEGIN); // echo "Raw Query: " . $res->buf . "\n"; // get result documents while (true) { $res = $this->getRespond(); if ($res->cmd == XS_CMD_SEARCH...

65.XSSearch::addRange

...Y_RANGE, XS_CMD_QUERY_OP_FILTER, $vno, $from, $to); } $this->execCommand($cmd); } return $this;} 添加搜索过滤区间或范围

66.XSSearch::setMultiSort

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

67.XSIndex::addExdata

...t $cmd = array('cmd' => XS_CMD_INDEX_EXDATA, 'buf' => $data); $this->execCommand($cmd, XS_CMD_OK_RQST_FINISHED); return $this;} 批量提交索引命令封包数据 把多个命令封包内容连续保存为文件或变量, 然后一次性提交以减少网络开销提升性能

68.indexer.php 执行报错

更新时间:2012-07-25 13:07 t By utilities

...S.php(2094): DB has been rebuilding(S#407) #0 lib/XS.php(1192): XSServer->execCommand(Array, 257) #1 Indexer.php(197): XSIndex->beginRebuild() #2 {main}[hr] /sdk/php$ util/RequiredCheck.php Xunsearch PHP-SDK 运行需求检查 检查内容 -------- 本程序用...

69.XSIndex::update

...lse { for ($i = 0; $i < count($cmds) - 1; $i++) { $this->execCommand($cmds[$i]); } $this->execCommand($cmds[$i], XS_CMD_OK_RQST_FINISHED); } // after submit $doc->afterSubmit($this); return $this;} 更新索引文档 该方法相当于先根据主键...

70.RE: 填充测试数据的时候出现错误

发布时间:2011-09-20 16:09 t By tisswb

...hp(1832): Failed to open file(S#513) #0 ../phplib/XS.php(1089): XSServer->execCommand(Array, 250) #1 ../phplib/XS.php(1094): XSIndex->addExdata('????????1??????...') #2 ../phplib/XS.php(1100): XSIndex->openBuffer(0) #3 ../phputil/Indexer.php(206): XSIndex->closeBuffer() #4 {main} PHP Fatal err...

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