...> Array ( [newsid] => XSFieldMeta Object ( [name] => newsid [cutlen] => 0 [weight] => 1 [type] => 10 [vno] => 0 [tokenizer:private] => full [flag:private] => 1 ) [title] => XSFieldMeta Object ( [name] => title [cutlen] => 0 [weight] => 5 [type] => 11 [vno] => 1 [tokenizer:private] => 0 [flag:private...
... string(6) "joinid" ["cutlen"]=> int(0) ["weight"]=> int(1) ["type"]=> int(10) ["vno"]=> int(0) ["tokenizer":"XSFieldMeta":private]=> string(4) "full" ["flag":"XSFieldMeta":privat...
...片ID主键 唯一 type = id index = none tokenizer = none cutlen = 0 weight = 0 phrase = no non_bool = no [title];图片属于哪个图集的题标 非唯一 但每个图集题标都是唯一 type = title;我可以设置为string? index = both;如果type = title 请问我可以设置...
...类型 [goods_type] tyep = string tokenizer = full ; 商品权重 [weight] type = numeric ; 配送范围 [scope] type = string index = mixed tokenizer = default ; 配送开始时间 [starttime] type = numeric ; 配送截止时间 [endtime] type = numeric [/php] 不知...
[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...
//执行语句 $gSearch->setFuzzy()->setQuery($name)->addWeight('ranking','1')->setLimit($gNum,$startPage)->search(); //执行结果 Xapian::Query((疯:(pos=1) AND_MAYBE GD1))[hr] //输出结果 [0] => XSDocument Object ( [_data:XSDocument:private] => Array ...
... [ccount] => 0 [percent] => 100 [weight] => 0 ) ) [1] => XSDocument Object [/code] 那个sort,time,update_time,都是int型的 配置文件如下 [code] project.name = xuenar_news project.default_charset = utf-8 ser...
...ype = string index = none [album_name] type = string index = both weight = 2 [gmt_create] type = numeric index = none [pass_date] type = string index = none
...ring tokenizer = full index = self weight = 5 [tag] type = title [chrono] type = numeric index = none tokenizer = none 因为普通的XS:getExpandedQuery() 是无法完成...
... type = string index = none [album_name] type = string index = both weight = 2 [gmt_create] type = numeric index = none [pass_date] type = string index = none