字段配置 [user_id] type = numeric index = self tokenizer = full 用 $search->addRange('user_id',1,20000)->..... 搜索 指定 用户id 范围的内容 addRange区间过滤不起作用 不知道是我配置问题 还是调用方式不对
...Scheme.class.php#L514 (显示) public function fromConfig($config){ // type & default setting if (isset($config['type'])) { $predef = 'self::TYPE_' . strtoupper($config['type']); if (defined($predef)) { $this->type = constant($predef); if ($this->type == se...
...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? ...
...K ;服务端用默认值 ;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 [dateline] type = numeric ~~~ [1]: http://www.xu...
...project.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 [dateline] type = numeric
...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 求指点
...fault_charset = utf-8 server.index = 8383 server.search = 8384 [pid] type = id [catid] type = numeric index = both tokenizer = full [subject] type = title [message] type = body [url] index = self tokenizer = full [chrono] type = numeric
你好,新设计的字段 [pid] type = id index = none tokenizer = none [uid] type = string tokenizer = full index = self weight = 5 ...
...sid] => 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] => 19 ) ) [_...
... 那也是一个合法的字段,字段选项包括以下几种: #### type 字段类型 - string 字符型,适用多数情况,也是默认值 - numeric 数值型,包含整型和浮点数,仅当字段需用于以排序或区间检索时才设为该类型,否则请使用 str...