... "当" 时限制找不到结果 配置文件名称如下 project.name = digital_music project.default_charset = utf-8 server.index = 8383 server.search = 8384 [music_id] type = id [music_name] type = title index = both [message] type = body cutlen = 500 [singer] typ...
...me Object ( [_fields:private] => 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 [tokeni...
...标题字段 XS index XSIndex 获取索引操作对象 XS name string 获取当前项目名称 XS scheme XSFieldScheme 获取当前在用的字段方案 XS scwsServer XSServer 创建 scws 分词连接 XS search XSSearch 获取搜索操作对象 XS ...
...-+ | id | int(11) | NO | PRI | NULL | auto_increment | | name | varchar(20) | NO | | | | | phonenum | varchar(40) | YES | | NULL | | +----------+-------------+------+-----+---------+----------------+ 2. ini配置文件...
...大多数字符串字段。也可以指定自定义分词器,格式为 name 或 name(arg) 两种形式,其中 name 是分词器名称,arg 则是传递给分词器构造函数的参数。自定义分词器需要在 lib/ 目录下编写名为 XSTokenizerName 的分词类并实现接口 XSTokeniz...
...rch/search.php?q=祛痘 我的项目配置文件名称如下 project.name = digital_music project.default_charset = 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...
xunsearch搜索的时候右边出现的几种分类是怎么实现的? [name] //分类名 index = self [cid] //分类id type = numeric index = none 在搜索页面 $search->setFacets('name'); //得到分面搜索数据 // get the result $search_begin = microtime(true); $docs = $sea...
...ldBody(){ if (isset($this->_typeMap[XSFieldMeta::TYPE_BODY])) { $name = $this->_typeMap[XSFieldMeta::TYPE_BODY]; return $this->_fields[$name]; } return false;} 获取内容字段元数据
...tFieldId(){ if (isset($this->_typeMap[XSFieldMeta::TYPE_ID])) { $name = $this->_typeMap[XSFieldMeta::TYPE_ID]; return $this->_fields[$name]; } return false;} 获取主键字段元数据
...rray($field)) { $field = array($field); } foreach ($field as $name) { $ff = $this->xs->getField($name); if ($ff->type !== XSFieldMeta::TYPE_STRING) { throw new XSException("Field `$name' cann't be used for facets search, can only be string type"); } ...