...hp] project.name = goods project.default_charset = utf-8 server.index = 8383 server.search = 8384 ; 商品ID 与配送范围 配送范围以特殊格式放到标题后面 [goods_id] type = id ; 商品名称 [goods_name] type = title index = both ; 商品分类 [cat_id] type = st...
... project.default_charset = utf-8 ;服务端用默认值 ;server.index = 8383 ;server.search = 8384 [did] type = id [title] type = title [tag] index = self [content] type = body[/code] 其中did为hdwiki每个词条唯一的编号(这个与url对应) title为词条的名...
...i ~~~ 没错,配置文件很简单、清晰,它默认连接本地的 `8383、8384` 端口并使用 UTF-8 编码,包含四个字段:pid,subject,message,chrono 。 填充索引数据 ----------- 出于测试方便,我们采用 `csv` 格式来写入索引数据,请先按以下方...
... project.name = myblog project.default_charset = utf-8 server.index = 8383 server.search = 8384 [ID] // 文章ID type = id phrase = yes [author] //作者 index = self [post_content] //内容 type = body [post_content_full] //全部内容 cutlen = 300 //显示300个字节 ...
...iscuz project.default_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 [dateline] type...
... project.name = goods project.default_charset = utf-8 server.index = 8383 server.search = 8384 [id] type = id [price] type = numeric 查询操作: hpxl@debian:~/test$ php sdk/php/util/Quest.php goods id:3122 --show-query [XSException] sdk/php/lib/XS.php(2455): Failed to recv the ...
... > 并注意借助类似 `iptables` 的防火墙来控制 `xunsearch` 的 `8383/8384` 两个端口的访问权限。 > 启动脚本用法举例如下,以下均为合法使用方式: > ~~~ > bin/xs-ctl.sh -b local start // 监听在本地回环地址 127.0.0.1 上 > bin/xs-ctl.sh -b inet start...
...tring(5) "utf-8" ["server.index"]=> string(17) "192.168.1.78:8383" ["server.search"]=> string(17) "192.168.1.78:8384" ["joinid"]=> array(1) { ["type"]=> string(2) "id" } ["id"]=> array(0) { } ["uid"]=> ...
...= isset($this->_config['server.index']) ? $this->_config['server.index'] : 8383; if (($pos = strpos($conn, ';')) !== false) { $adds = explode(';', substr($conn, $pos + 1)); $conn = substr($conn, 0, $pos); } $this->_index = new XSIndex($conn, $this); ...