搜索

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

71.XSSearch::setFacets

setFacets() 方法 (自版本 v1.1.0 起可用) public XSSearch setFacets(mixed $field, bool $exact=false) $field mixed 要进行分组统计的字段或字段组成的数组, 最多同时支持 8 个 $exact bool 是否要求绝对精确搜索, 这会造成较大的系统开...

72.用骨架自动生成的search.php访问没有数据是怎么回事,管理员大哥帮帮忙

发布时间:2012-12-12 17:12 t By 刚接触xs

...t.name = study project.default_charset = utf8 server.index =8383 server.search =8384 [user_id] type = id [username] index = self tokenizer = full [password] index = both [email] index = both 后来自己又写了个php页面打印结果是一个空数组

73.RE: search时报错 ,请帮看看是哪的问题

发布时间:2012-12-25 10:12 t By benq81

报错:[XSException] ThinkPHP/Extend/Vendor/sdk/php/lib/XS.php(2087): Task is canceled due to timeout/error(S#514) 日志: 2012-12-25 10:19:08 worker1[11340] [sock:7] task canceld, run the cleanup (ZARG:0x7f6c775fdbf0) 2012-12-25 10:19:08 worker1[11340] [sock:7] quit, result error (CODE:514) ...

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

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

...(2092): Unknown Internal 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 ...

75.XSTokenizerScws::getVersion

...327 (显示) public function getVersion(){ $cmd = new XSCommand(XS_CMD_SEARCH_SCWS_GET, XS_CMD_SCWS_GET_VERSION); $res = self::$_server->execCommand($cmd, XS_CMD_OK_INFO); return $res->buf;} 获取 scws 版本号

76.XSSearch::getRelatedQuery

...return} array 返回搜索词组成的数组 源码: sdk/php/lib/XSSearch.class.php#L707 (显示) public function getRelatedQuery($query = null, $limit = 6){ $ret = array(); $limit = max(1, min(20, intval($limit))); // Simple to disable query with field filter if ($query === nul...

77.索引概述

索引概述 什么是索引? ---------- 索引在 `Xunsearch` 中泛指用于检索的数据库文件总称。每一次检索数据均为访问和读取 索引文件,每一次更新数据则是对索引文件的修改。 `Xunsearch` 每个搜索项目的索引数据是分开单独存...

78.RE: 迅搜报错

更新时间:2011-12-19 13:12 t By icebolt

Uncaught [XSException] ../../xunsearch/sdk/php/lib/XS.php(1970): The revision being read has been discarded - you should call Xapian::Database::reopen() and retry the operation(S#515) thrown in /usr/local/xunsearch/sdk/php/lib/XS.php on line 1970 又报另外一个错误[hr] Fatal error: Uncaught [...

79.XSIndex::getScwsMulti

... (显示) public 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);} 获取当前索引库的分词复合等级

80.RE: 重启xunsearch

更新时间:2012-03-26 16:03 t By bigxu

第一个参数是网址:比如, http://www.xunsearch.com/site/search?q=demo 老个参数是这个页面应该包含的文字,比如: RE 第三个参数是 xs-ctl.sh的位置 第是个参数是重启记录比如 /var/log/xu_xs.log

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