project.name = product_search2 server.index = 192.168.1.222:8383 server.search = 192.168.1.222:8384 [sales_id] type = id index = both [title] type = title 这是索引文件。
...server.index = 192.168.0.6:8383 server.search = 192.168.0.6:8384 [id] type=id [title] type=title index=both [content] type = body index = mixed [lv1] index = self tokenizer = full [lv2] index = self tokenizer = full [lv3] index = self tokenizer = full [school_id] in...
如下: 自定义分词字段 b_split_title [b_split_title] type = title tokenizer =coupon $search->setQuery( '(b_split_title:宠物 OR 宠物 ) AND b_city_id:31')->setlimit(1000000)->setFacets('b_tag_id')->search(); 打印: Xapian::Query(((or:(pos=1) AND 宠物:(pos=2) AND and:(pos=3) ...
...D:2 就能找到相应的数据 filename就是 xxxx ID是主键 filename type=title ini的内容为: project.name = .... project.default_charset = UTF-8 ;server.index = 8383 ;server.search = 8384 [ID] type = id [filename] type = title tokenizer = full 求指点 [/quote] type=t...
...k 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];图片属于哪个图集的题标 非唯一 但每个图集题标都是唯一 type = title;我可以设置为string? ...
...D:2 就能找到相应的数据 filename就是 xxxx ID是主键 filename type=title ini的内容为: project.name = .... project.default_charset = UTF-8 ;server.index = 8383 ;server.search = 8384 [ID] type = id [filename] type = title tokenizer = full 求指点 [/quote] type=t...
...ult_charset = utf-8 server.index = 8383 server.search = 8384 [docno] type = id ;文档号 [title] type = title; 文章标题 [date] type = numeric ; 日期 index = self [text] type = body ;内容 下面 Linux CentOS.64 Intel(R) Xeon(R) CPU E3-1230 V2 @ 3.30GHz MemT...
...> int(0) ["weight"]=> int(1) ["type"]=> int(10) ["vno"]=> int(0) ["tokenizer":"XSFieldMeta":private]=> string(4) "full" ["flag":"XSFieldMeta":private]=> int(1) } ...
...ect.default_charset = utf-8 server.index = 8383 server.search = 8384 [ID] type = id [title] type = title [content] type = body [/code] 2、索引 [code] util/Indexer.php --source=mysql://root:pwd@localhost/dede --sql="SELECT ID, title, content FROM dede_article" --project=search [/code] 结果显...
...ndex = 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 项。 (搜索耗时:0.0020秒) [