... ../../../../usr/local/xunsearch/sdk/php/lib/XS.php(819): Missing field of type ID thrown in /usr/local/xunsearch/sdk/php/lib/XS.php on line 819
...>name . '\''); } if ($field->isSpeical()) { if (isset($this->_typeMap[$field->type])) { $prev = $this->_typeMap[$field->type]; throw new XSException('Duplicated ' . strtoupper($config['type']) . ' field: `' . $field->name . '\' and `' . $prev . '\''); } ...
...me.class.php#L367 (显示) public function isSpeical(){ return ($this->type == self::TYPE_ID || $this->type == self::TYPE_TITLE || $this->type == self::TYPE_BODY);} 判断当前字段是否为特殊类型 特殊类型的字段是指 id, title, body, 每个项目至多只能有一个这种类...
...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...
...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 tokenizer = full [lv3] index = self tokenizer = full [school_id] in...
...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 ...
..._charset = utf-8 server.index = 8383 server.search = 8384 [goods_id] type = id [cat_ids] index = both [goods_name] type = title index = both [goods_desc] type = body phrase = no index = both tokenizer = default [goods_thumb_list] index = none [shop_price] type = nume...
..._charset = utf-8 server.index = 8383 server.search = 8384 [goods_id] type = id [cat_ids] index = both [goods_name] type = title index = both [goods_desc] type = body phrase = no index = both tokenizer = default [goods_thumb_list] index = none [shop_price] type = nume...
...ex = 10.1.20.51:8383 server.search = 10.1.20.51:8384 [tblog_entry_id] type = id [content] type = string index = both [user_id] type = numeric index = self tokenizer = full [post_time] type = numeric index = self tokenizer = full [forward] type = numeric index = self t...
...能,但是搜索任何都搜不出。搜索/却出来全部结果 [id] type = id [user] index = both tokenizer = none [zh] index = both tokenizer = none [dh] index = both tokenizer = none ~ [hr] [quote='子不语' pid='5115' dateline='1384100404'] 我就想使用普通的搜索...