...面也是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) 请问我是哪里出错了 在线等啊
...roject 属性 public string getProject()public void setProject(string $name, string $home='') 获取当前项目名称 respond 属性 只读 public XSCommand getRespond() 从服务器读取响应指令 socket 属性 只读 public mixed getSocket() 获取连接资源描述符 ...
...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]# 请管理员看看,是什么问题,是目录...
...如果我要查询的分类很多的话,比如30个,还是会报 Data/Name too long 的异常,有没有能够从根本上解决这个问题的方法呢?还是我的搜索策略需要改变?
...8384) subhd.ini 和 demo.ini 放在同一目录 内容如下 project.name = subhd project.default_charset = utf-8 server.index = 8383 server.search = 8384 [sub_ID] type = id [sub_title] type = title [sub_edition] type = title [sub_text] type = body [sub_date] type = nume...
[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...
...--rebulid --source=mysql://u:p@127.0.0.1/test --sql="SELECT movie_id,movie_name,movie_starring,movie_director,movie_description,movie_list_img_url,movie_insert_time FROM movie" --project=movie [XSException] ../../usr/local/xunsearch/sdk/php/lib/XS.php(2202): Connection refused(C#111) #0 ../....
...:(pos=5))) FILTER C宠物)) 但是 如果是别的字段就可以 [b_name] type = none Xapian::Query(((0 * B宠物 OR 宠物:(pos=1)) AND (b_city_id:(pos=2) PHRASE 2 31:(pos=3)))) 这是bug ?
unique id = table_name + id_in_table 将主键修改为 Table1_1 和 Table2_1 就好了呀 检索结果中提取 id 中 最后一个 _ 之前的部分就是 table 名了。
...114708367' pid='417' dateline='1326103519'] FastCGI sent in stderr: "Data/Name too long" while reading response header from upstream, client: xxx.xxx.xxx.xxx, server: www.xxx.xxx, request: "GET /search?q=source%3Aqiyi+type%3Avideo+tag%3A%E7%94%B5%E5%BD%B1+OR+tag%3A%E6%83%8A %E6%82%9A+OR+tag%...