... Xapian::Query((疯:(pos=1) AND_MAYBE GD1))[hr] //输出结果 [0] => XSDocument Object ( [_data:XSDocument:private] => Array ( [gid] => 27490 [name] => 摩托车疯狂2 [pid] => 3 ...
...的文档后,搜索结果中出现空文档信息 Array ( [0] => XSDocument Object ( [_data:private] => Array ( ) [_terms:private] => [_texts:private] => [_charset:private] => UTF-8 ...
搜索结果正常如下: Array ( [0] => XSDocument Object ( [_data:XSDocument:private] => Array ( [id] => 4089 [name] => 思诺尔 亚麻水立方红色1.5米 [brand_name] => 思诺尔 ...
...#2 /data/abchosting/trunkey/wwwroot/index.php(110): XSIndex->update(Object(XSDocument)) #3 {main}
[code]Array ( [0] => XSDocument Object ( [_data:private] => Array ( [id] => 231859 [title] => 尖子生弃考留学成主流 不少学生脚踩两船 [lv1] => 3 [lv2] => 6...
... /home/www/xunsearch/sdk/php/util/Indexer.php(237): XSIndex->update(Object(XSDocument)) 数据库是UTF-8字符集。
...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...
... !== '') $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...
... !== '') $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...
...L 扩展用于自动加载和对象戏法 | | PCRE 扩展 | OK | XSDocument, XSSearch | 用于字符串切割、判断 | | 编码转换 | iconv | XSDocument, XSSearch | 用于支持非 UTF-8 字符集 | | 缓存模块 | WARNING | XS ...