搜索

大约有 30 项符合查询结果, 库内数据总量为 3,513 项。 (搜索耗时:0.0062秒)

1.XSFieldMeta::toConfig

...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...

2.获取索引对象就报错supplied argument is not a valid stream resource

更新时间:2012-08-09 17:08 t By blueo

...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 ) ) [_...

3.XSFieldScheme::getFieldTitle

...ss.php#L59 (显示) public function getFieldTitle(){ if (isset($this->_typeMap[XSFieldMeta::TYPE_TITLE])) { $name = $this->_typeMap[XSFieldMeta::TYPE_TITLE]; return $this->_fields[$name]; } foreach ($this->_fields as $name => $field) { if ($field->type === XSFieldMeta:...

4.RE: [HELP]xunsearch安装好了,搜索没有结果集。。。

发布时间:2011-10-19 16:10 t By hpxl

字段设计有点问题。当type为string,没有指明index索引方式是是不分词的。 [title] type=string index=both 和 [title] type=title 这两个字段设计效果一样。同样content,类型也有问题,可以这样 [content] type=body 或者 [content] type=string index=mixed 具...

5.XSFieldMeta::isSpeical

...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, 每个项目至多只能有一个这种类...

6.索引速度

更新时间:2014-03-27 10:03 t By iostream210

...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...

7.初次使用的问题

发布时间:2014-12-25 14:12 t By sa1nt

...lt_charset = utf-8 server.index = 8383 server.search = 8384 [sub_ID] type = id [sub_title] type = title [sub_edition] type = title [sub_text] type = body [sub_date] type = numeric 于是使用php进行测试,代码如下 没有显示任何结果 data目录下...

8.XSFieldMeta

...范围:[0-9A-Za-z-_], 长度控制在 1~32 字节为宜 XSFieldMeta type int 字段类型 XSFieldMeta vno int 字段序号 取值为 0~255, 同一字段方案内不能重复, 由 XSFieldScheme::addField 进行确定 XSFieldMeta weight int 混合区检索时的相对权...

9.贴一个wordpress搜索配置

更新时间:2011-12-26 16:12 t By assad

...efault_charset = utf-8 server.index = 8383 server.search = 8384 [ID] type = id phrase = yes [author] index = self [post_content] type = body [post_title] type = title [post_date] type = numeric index = self [category] index = self [/php] 索引导入 /usr/local/xunse...

10.开启模糊搜索 对搜有字段搜索吗?

发布时间:2014-07-17 17:07 t By xunsearch飞吧

...ty:31 AND tag_id:1300 , 开启模糊搜索 setFuzzy(),是指针对 type= title 单字段搜索 还是所有条件都模糊搜啊? 一般搜索标题类型都是 type= title ,比如我要搜 '宠' 能搜到 宠物店 宠美容 但是没有 宠寄养世界 , 再搜 ...

123
  • 时间不限
  • 按相关性排序