...p/index.sock`) ~~~ ; 索引服务端配置,默认值为 8383 server.index = 8383 ; 搜索服务端配置,默认值为 8384 server.search = 8384 ~~~ > note: 自 `1.4.7` 起,服务端地址可以使用 `;` 分隔指定多个。 > 索引更新将同步到所有服...
...p的search() 在1556行的$this->logQuery(); 改成: [php]if(strpos($_SERVER['REQUEST_URI'],'你的域名')) $this->logQuery();[/php] 即可过滤所有搜索引擎访问查询时自动写入搜索日志记录!~! 我不清楚REQUEST的结果是不是大小写、。。。。如果不放...
暂时解决502问题,server代码正在追踪中,请大家耐心等待。 有用户反映偶尔通过php调用会出现502之类的错误。 我写过一段这样bash shell 脚本,大概原理是: 每隔几秒去请求搜索页面,据返还结果确定是否需要重启,重启后...
...sample.ini [code]project.name = sample project.default_charset = GBK ;server.index = 8383 ;server.search = 8384 [pid] type = id [subject] type = title [message] type = body [dateline] type = numeric [author] index = both [authorid] [tid] index = self tokenizer = full ...
...如下: [php] 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...
... vi 项目名.ini project.name = 项目名 project.default_charset = UTF-8 server.index = 192.168.0.250:8383 server.search = 192.168.0.250:8384 [tid] type = id [fid] index = self tokenizer = full [author] [authorid] index = self tokenizer = full [postdate] tokenizer = full [subject] type = tit...
...接复制使用 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 //显示...
...roject.name = discuz 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 ...
...st" ["project.default_charset"]=> string(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"]=...