搜索

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

81.配置的时候端口8383错误

更新时间:2014-02-25 10:02 t By 情雨轩

....name = test project.default_charset = utf-8 server.index = 8383 server.search = 8384 当我执行 util/Indexer.php --source=csv --clean test 时候提示下面错误 求解 [XSException] ../../../../usr/local/xunsearch/sdk/php/lib/XS.php(2448): Failed to recv the data from server completel...

82.重启xunsearch

更新时间:2012-03-27 10:03 t By bigxu

...://www.bigxu.com bigxu@foxmail.com # example : ./check.sh http://www.xunsearch.com/site/search?q=demo RE /data/www/xunsearch/bin/xs-ctl.sh /hom/bigxu/xu_restart.log > /dev/null 2>&1 & try_times=5 if [[ $1 == 'help' || $4'x' == 'x' ]] then echo "arg1 try:url,example http://www.xunse...

83.XSTokenizerScws::hasWord

...tr){ $text = $this->applySetting($text); $cmd = new XSCommand(XS_CMD_SEARCH_SCWS_GET, XS_CMD_SCWS_HAS_WORD, 0, $text, $xattr); $res = self::$_server->execCommand($cmd, XS_CMD_OK_INFO); return $res->buf === 'OK';} 判断是否包含指定词性的词

84.XSTokenizerScws::getResult

...y(); $text = $this->applySetting($text); $cmd = new XSCommand(XS_CMD_SEARCH_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'] ...

85.导入 mysql 数据源的问题

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

... project.name = discuz project.charset = GBK server.index = 8383 server.search = 8384 [pid] type = id [fid] index = self tokenizer = full [tid] [first] index = self tokenizer = full [author] index = both [authorid] [subject] type = title [message] type = body [d...

86.RE: 配置的时候端口8383错误

发布时间:2014-02-25 11:02 t By 情雨轩

... project.default_charset = utf-8 server.index = 192.168.46.129:8383 server.search = 192.168.46.129:8384 我将配置文件修改成下面这样 执行以下还是不行 http://192.168.46.129:8383/和http://192.168.46.129:8384/ 输入的时候 显示 It works! [root@localhost xunsearch]# util/Ind...

87.XSSearch::setDocOrder

setDocOrder() 方法 public XSSearch setDocOrder(bool $asc=false) $asc bool 是否为正序排列, 即从先到后, 默认为反序 {return} XSSearch 返回对象本身以支持串接操作 源码: sdk/php/lib/XSSearch.class.php#L317 (显示) public function setDocOrder($...

88.初次使用的问题

发布时间:2014-12-25 14:12 t By sa1nt

...ting server[xs-indexd] ... (BIND:127.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) subhd.ini 和 demo.ini 放在同一目录 内容如下 project.name = subhd project.default_charset = utf-8 serv...

89.XSSearch::getDbTotal

...t getDbTotal() {return} int 数据总量 源码: sdk/php/lib/XSSearch.class.php#L659 (显示) public function getDbTotal(){ $cmd = new XSCommand(XS_CMD_SEARCH_DB_TOTAL); $res = $this->execCommand($cmd, XS_CMD_OK_DB_TOTAL); $tmp = unpack('Itotal', $res->buf); return $tmp['tot...

90.XSTokenizerScws::setIgnore

...etIgnore($yes = true){ $this->_setting['ignore'] = new XSCommand(XS_CMD_SEARCH_SCWS_SET, XS_CMD_SCWS_SET_IGNORE, $yes === false ? 0 : 1); return $this;} 设置忽略标点符号

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