...是项目ini配置 project.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页面打印结果是一个空...
[attachment=12][php] project.name = search_brand server.index = 192.168.1.124:8383 server.search =192.168.1.124:8384 [brandId] type = id [brand] type = title index =self [/php] 而且搜索骨架会有 [php]大约有 0 项符合查询结果, 库内数据总量为 10,735 项。 (搜...
...候偶尔卡顿后出现如下错误: [b]Failed to recv the data from server completely (SIZE:0/302, REASON:timeout)[/b] 其中REASON会有两种情况 REASON:timeout REASON:colose xunsearch版本 xs-indexd: xunsearch/1.4.8 (index server) xs-searchd: xunsearch/1.4.8 (search server) ...
...置文件 [php] project.name = myblog project.default_charset = utf-8 server.index = 8383 server.search = 8384 [ID] type = id phrase = yes [author] index = self [post_content] type = body [post_title] type = title [post_date] type = numeric index = self [category] inde...
...ows下开发,我把sdk目录都粘贴下到本地中,修改了demo.ini server.index server.search 为ip:XXXX require $_SERVER['DOCUMENT_ROOT'].'sdk/php/lib/XS.php'; $xs = new XS($_SERVER['DOCUMENT_ROOT'].'sdk/php/app/demo.ini'); $docs = $xs->search->search('hightman'); print_r($doc...
...的配置文件 project.name = cusabio_cn project.default_charset = gbk server.index = 8383 server.search = 8384 [userid] type = id [my1] index = self [my2] index = self [my3] index = self phrase = yes 我想在 my3 中,词语按照一定顺序查询,查看文档后得不到结果 例如 ...
...不是固定的 project.name = hash project.default_charset = UTF-8 server.index = /dev/shm/xs-indexd.sock server.search = /dev/shm/xs-searchd.sock [id];图片ID主键 唯一 type = id index = none tokenizer = none cutlen = 0 weight = 0 phrase = no non_bool = no [title];图片属...
... 配置文件: project.name = html project.default_charset = utf-8 server.index = 8383 server.search = 8384 [pid] type = id [catid] type = numeric index = both tokenizer = full [subject] type = title [message] type = body [url] index = self tokenizer = full [chrono...
初看一下很多问题啊,index_put() 函数里 $doc 没有声明? 而且你何必 del 再add为何不直接用 put
[color=#FF0000]demo.ini[/color] ----------------------------- project.name = demo project.default_charset = utf-8 server.index = 8383 server.search = 8384 [pid] type = id [subject] type = title [message] type = body [chrono] type = numeric