...b/XSFieldScheme.class.php#L452 (显示) public function toConfig(){ // type $str = "[" . $this->name . "]\n"; if ($this->type === self::TYPE_NUMERIC) { $str .= "type = numeric\n"; } elseif ($this->type === self::TYPE_DATE) { $str .= "type = date\n"; } elseif ($this->typ...
...efault_charset = utf-8 server.index = 8383 server.search = 8384 [xsid] type = id [pid] tokenizer = full type = numeric index = self [tid] type = string index = self tokenizer = full [fid] type = string index = self tokenizer = full [title] index = both type = title [con...
...文件: project.name = pin_115_gjh project.default_charset = UTF-8 [id] type = id [name] type = title [create_time] type = numeric [enterprise_id] type = numeric [image_url] [img_type] [category] index = mixed [source] [source_icon_url] [from] type = numeric [buy_stat] type = numeric [...
...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...
instance() 方法 public static XSDataSource instance(string $type, mixed $arg=NULL) $type string 数据源类型, 如: mysql://.., json, csv ... $arg mixed 建立对象的参数, 如 SQL 语句, JSON/CSV 文件 {return} XSDataSource 初始化完毕的数据源对象 ...
...范围:[0-9A-Za-z-_], 长度控制在 1~32 字节为宜 XSFieldMeta type int 字段类型 XSFieldMeta vno int 字段序号 取值为 0~255, 同一字段方案内不能重复, 由 XSFieldScheme::addField 进行确定 XSFieldMeta weight int 混合区检索时的相对权...
type 属性 protected $type;
type 属性 public int $type; 字段类型
...空格的问题 英文中有空格的固定词组 配置文件这样的 [type] type = string index = both tokenizer = split(|) 录入的数据中type是这样的 1.ccc|aaa bbb 2.ddd ============== 代码这样的 docs = $search->search('type: [color=#FF4500]"[/color]aaa bbb[color=#FF00...
...harset = utf-8 server.index = 8383 server.search = 8384 [music_id] type = id [music_name] type = title index = both [message] type = body cutlen = 500 [singer] type = string index = both [company] type = string index = none [album_name] type = string index = both ...