...w/wdlinux/nginx_php-5.2.17/lib/php') in /www/web/torrentkittys/public_html/index2.php on line 2 代码修改过程: 在当前目录下添加了一个XS.php软连接到/usr/local/xunsearch/sdk/php/lib/XS.php $xs = new XS('../app/torrentkittys.ini') 和 $xs = new XS('torrentkittys'); $xs =...
...php/app/xx.ini配置一下 (1里面也是xx.ini 但是没有设置server.index和server.search) project.name = xxxx project.chartset = UTF-8 server.index = x.x.x.1:8383 server.search = x.x.x.1:8384 我的搜索代码在2中然后搜索 提示"Connection refused(C#111) 请问我是哪里出...
[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...
...php/app/xx.ini配置一下 (1里面也是xx.ini 但是没有设置server.index和server.search) project.name = xxxx project.chartset = UTF-8 server.index = x.x.x.160:8383 server.search = x.x.x.160:8384 使用 Index.php -p test --info 报错 #0 ../lib/XS.php(2025): XSServer->connect() #1 ../lib/X...
...件如下 project.name = entry project.default_charset = UTF-8 server.index = 10.1.20.51:8383 server.search = 10.1.20.51:8384 [tblog_entry_id] type = id [content] type = string index = both [user_id] type = numeric index = self tokenizer = full [post_time] type = numeric in...
./Indexer.php -p --rebuild --source=mysql://root:'111111'@localhost/tmp_tsg --sql="select*,IF(market_price>0,round(shop_price/market_price*10,1),10) as rebate from tsg_goods" -p ../app/goods.ini [/php][/quote]初始化数据源 ... mysql://root:6$4!rgnbmClskax@localhost/tmp_tsg PHP Notice: Und...
...发,我把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($docs); ...
无论我打什么命令,无论Indexer.php后面加什么参数,都是显示帮助文档,这是怎么回事呢? [code][root@abc util]# /usr/local/php/bin/php Indexer.php --info Indexer - 索引批量管理、导入工具 (xunsearch/1.3.3) 用法 Indexer.php [options] [-p|--projec...
...件 [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] index = se...
...ame = go 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为词条...