...8384 3 配置和导入原有数据 在sdk的app目录里 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 ...
..., '/www/xunsearch/...', 367, Array) #1 lib/XS.php(421): XS->parseIniData('project.name = ...') #2 lib/XS.php(254): XS->loadIniFile('/www/xunsearch/...') #3 util/Indexer.php(120): XS->__construct('/www/xunsearch/...') #4 {main} [root@localhost php]# 请管理员看看,是什么问题,是...
[code] project.name = 59n [bid] type = id [title] index = mixed weight = 5 [bc] index = mixed [cc] index = mixed [addtime] type = date tokenizer = none [/code] [php] ./Indexer.php --source=mysql://root:root@localhost/blog --sql="select b.bid,b.content AS bc,b.addtime,b.titl...
... 附上ini设置,资源占用信息。[php] ini文件配置信息: 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 --...
...时可以将文件保存至 `$prefix/sdk/php/app/discuz.ini`。 ~~~ [php] project.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 [autho...
.../php/guide/ini.guide保持一致 搜索配置文件,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 = bot...
...ndexer导入的结果 $php /usr/local/xunsearch/sdk/php/util/Indexer.php --project=${project_ini} --charset=utf8 --source=${mysql} --sql="select group_concat(game_tag.tag__id) as tag__id,t.id as id from m as t left join game_tag on t.game__id = game_tag.game__id group by t.game__id" 初始化数据...
...可直接查看配置文件内容。 cat $prefix/sdk/php/app/demo.ini project.name = ecms project.default_charset = GBK ;服务端用默认值 server.index = 8383 server.search = 8384 [id] type = id [classid] index = self tokenizer = full [title] type = title [smalltext] typ...
...可直接查看配置文件内容。 cat $prefix/sdk/php/app/demo.ini project.name = ecms project.default_charset = GBK ;服务端用默认值 server.index = 8383 server.search = 8384 [id] type = id [classid] index = self tokenizer = full [title] type = title [smalltext] typ...
...80fb8 hightman: PHP-SDK: 给 XS 主类增加 setName 来根据需要改变 project.name * 09-27 15:05 c504ce2 hightman: 修正骨架代码的自动完成功能用鼠标点击时不能自动提交的问题 * 09-27 14:19 b2bac5b hightman: PHP-SDK: 修正骨架搜索代码中排序字段截取不当并...