...code] project.name = xuenar_news project.default_charset = utf-8 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 tokenize...
字段数字基本上是11,11001,11002等,搜索11,11001和11002等搜不到,怎么处理。 想实现 mysql like 11% 功能 index=both
...ng value of primarky key (FIELD:pid) #0 /usr/local/xunsearch/sdk/php/util/Indexer.php(195): XSIndex->update(Object(XSDocument)) sql语句: sql="select c.contentid,c.status,b.contentid from phpcms_content c,phpcms_c_news b where c.contentid=b.contentid and c.status=99" 配置文件:...
...固定的 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];图片属于哪...
歌名为title型,歌手和专辑index = both,搜索关键字为“大海”,张雨生的“大海”完全匹配的没有排在第一。如何增加完全匹配项的权重,使其排在第一? 搜索结果: 歌名:爱像[b]大海[/b] 歌手:李心洁 专辑:爱像[b]大海[/...
... 3. *文件路径*,本机的 `unix socket` 连接路径 (例:`/tmp/index.sock`) ~~~ ; 索引服务端配置,默认值为 8383 server.index = 8383 ; 搜索服务端配置,默认值为 8384 server.search = 8384 ~~~ > note: 自 `1.4.7` 起,服务端地址可...
...文中有空格的固定词组 配置文件这样的 [type] type = string index = both tokenizer = split(|) 录入的数据中type是这样的 1.ccc|aaa bbb 2.ddd ============== 代码这样的 docs = $search->search('type: [color=#FF4500]"[/color]aaa bbb[color=#FF0000]"[/color] OR typ...
...e.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 = both [authorid] [tid] index = self tokenizer = full [f...
...的问题,分面就不用说了,没有使用这个。 [maturename] index = self weight = 5 phrase = yes [color=#FF0000]已经对maturename进行了精确查找。使用双引号进行查找。percent居然是从42%开始。使用的是or啊[/color] ... ... ... ... ... ... ... ...
...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 [author] index = both [authorid] [subject] type = title [message] type = body [dateli...