搜索

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

1.addWeight提权的问题 提不上去

更新时间:2013-08-22 13:08 t By beike228

... Xapian::Query((疯:(pos=1) AND_MAYBE GD1))[hr] //输出结果 [0] => XSDocument Object ( [_data:XSDocument:private] => Array ( [gid] => 27490 [name] => 摩托车疯狂2 [pid] => 3 ...

2.搜索结果正常,但json_encode结果之后就为空了

更新时间:2014-08-26 10:08 t By Leric

搜索结果正常如下: Array ( [0] => XSDocument Object ( [_data:XSDocument:private] => Array ( [id] => 4089 [name] => 思诺尔 亚麻水立方红色1.5米 [brand_name] => 思诺尔 ...

3.更新索引后,搜索结果中出现空数据文档

发布时间:2012-11-09 16:11 t By stars_and_moon

...的文档后,搜索结果中出现空文档信息 Array ( [0] => XSDocument Object ( [_data:private] => Array ( ) [_terms:private] => [_texts:private] => [_charset:private] => UTF-8 ...

4.搜索出来的数字型怎么成了这样的乱码

更新时间:2012-02-24 11:02 t By zl8522115

[code]Array ( [0] => XSDocument Object ( [_data:private] => Array ( [id] => 231859 [title] => 尖子生弃考留学成主流 不少学生脚踩两船 [lv1] => 3 [lv2] => 6...

5.增量索引不成功

发布时间:2014-02-13 17:02 t By lzc2523700

...ect_name); //获取 索引对象 $index = $xs->index; $doc = new XSDocument; $result = array(); $result = $this->temp_db->get_where($table, array($table_key_array[$table] => $id))->row_array(); if(empty($result)){ $doc->setFields($result); $res = $index->add($doc); ret...

6.RE: 英文模糊搜索问题

发布时间:2013-07-31 15:07 t By homingway

... !== '') $this->length = $arg; } public function getTokens($value, XSDocument $doc=null){ $charset = is_object($doc) ? $doc->getCharset() : 'UTF-8'; $ret = array(); //如果词的总长度小于给定的长度,则直接返回该词 $strlen = mb_strlen($value,$charset); if($s...

7.自定义分词器

...okenizerXyz implements XSTokenizer { public function getTokens($value, XSDocument $doc = null) { $ret = array(); if (!empty($value)) $ret = explode('-', $value); return $ret; } } ~~~ > note: [XSTokenizer::getTokens] 的参数 `$value` 的编码始终...

8.英文模糊搜索问题

发布时间:2013-07-31 10:07 t By homingway

... !== '') $this->length = $arg; } public function getTokens($value, XSDocument $doc=null){ $charset = is_object($doc) ? $doc->getCharset() : 'UTF-8'; $ret = array(); //如果词的总长度小于给定的长度,则直接返回该词 $strlen = mb_strlen($value,$charset); if($s...

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