...须有且仅有一个 id 字段,该字段的值不区分大小写 - title 标题型,标题或名称字段,至多有一个该类型的字段 - body 内容型,主内容字段, 即本搜索项目中内容最长的字段,至多只有一个该类型字段,本字段不支持字段检...
配置 [title] type = title . . . [hasvideo] index = self query:千 hasvideo:1 结果: 电影 - 悭钱家族 导演: 赵崇基 主演: 陈奕迅 郑裕玲 杨千嬅 曾志伟 狄龙 剧情简介: 典型都市女性Diana(郑裕玲饰)有着骄人的事业成绩,也积...
... ( [id] => 231859 [title] => 尖子生弃考留学成主流 不少学生脚踩两船 [lv1] => 3 [lv2] => 63 [lv3] => 0 [school_id] => 0 [so...
...帮看看,谢谢了! 搜索主要用以下字段 ①数据库中的title字段(代表文章唯一编号,即PMID) ②数据库中tag字段(代表文章关键词) ③数据库中content字段(代表全文,即搜索页面的摘要) #主要是搜索这里时,较慢[/quote] ④...
[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...
... tokenizer = none cutlen = 0 weight = 0 phrase = no non_bool = no [title];图片属于哪个图集的题标 非唯一 但每个图集题标都是唯一 type = title;我可以设置为string? index = both;如果type = title 请问我可以设置为self吗? tokenizer = default;默认scw...
...earch/sdk/php/lib/XS.php 1018 我的查询语句是:SELECT `ID` as _ID,`title` as _title,`Content` as _body,`QuestionTime` as _time,`UserNam` as _user,`tag` as _tag FROM wenti_nr Where `search`=0 若只用sql进行数据库查询能获取到结果,而用xunsearch执行更新索引时候就提...
...kenizer = full [fid] type = string index = self tokenizer = full [title] index = both type = title [content] index = mixed type=body [url] index = self type = string [sort] index = self type = string [frist] index = self type = numeric [postdate] type = numeric ...
...值 ;server.index = 8383 ;server.search = 8384 [did] type = id [title] type = title [tag] index = self [content] type = body[/code] 其中did为hdwiki每个词条唯一的编号(这个与url对应) title为词条的名字(需要能搜索) tag为词条的标签(需要...
...er.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 MemTotal: 3921076 kB ...