搜索

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

1.搜索分词只希望第一层怎么办?

发布时间:2014-05-11 00:05 t By dashzhao

...色货品”: 现在是这样的: [code]Xapian::Query(((迪卡侬:(pos=1) SYNONYM (迪卡:(pos=89) OR 卡侬:(pos=90))) OR 蓝色:(pos=2) OR 货品:(pos=3)))[/code] 但是我有在自定义词库里面添加“迪卡侬” 所以我不希望“迪卡侬”再被切分,而希望是这...

2.为什么布尔搜索不适合 自定义分词?

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

...1000000)->setFacets('b_tag_id')->search(); 打印: Xapian::Query(((or:(pos=1) AND 宠物:(pos=2) AND and:(pos=3) AND (b_city_id:(pos=4) PHRASE 2 31:(pos=5))) FILTER C宠物)) 但是 如果是别的字段就可以 [b_name] type = none Xapian::Query(((0 * B宠物 OR 宠物:(pos=1)) AND (...

3.XSException::getRelPath

...om = getcwd(); $file = realpath($file); if (is_dir($file)) { $pos = false; $to = $file; } else { $pos = strrpos($file, '/'); $to = substr($file, 0, $pos); } for ($rel = '';; $rel .= '../') { if ($from === $to) { break; } if (...

4.XSException::getRelPath修改建议

发布时间:2012-08-30 16:08 t By bkkkd

... $file = realpath($file); if (is_dir($file)) { $pos = false; $to = $file; } else { $pos = strrpos($file, DIRECTORY_SEPARATOR); $to = substr($file, 0, $pos); } for ($rel = '';; $rel .= '..'.DIRECTORY_SEPARATO...

5.求解释TF/IDF计算器中get_tfidf的算法

发布时间:2013-10-30 11:10 t By jjyang

... $data = @file_get_contents($url); if (!$data) return -1; $pos1 = @strpos($data, "百度为您找到相关结果约", 2048) + 33; $pos = ( $pos1 > 33 ) ? $pos1 : -1; $total = 0; if ( $pos > 33 ) { $pos2 = @strpos($data, "个", $pos); $total = tri...

6.求解释TF/IDF计算器中get_tfidf的算法

发布时间:2013-10-30 11:10 t By jjyang

... $data = @file_get_contents($url); if (!$data) return -1; $pos1 = @strpos($data, "百度为您找到相关结果约", 2048) + 33; $pos = ( $pos1 > 33 ) ? $pos1 : -1; $total = 0; if ( $pos > 33 ) { $pos2 = @strpos($data, "个", $pos); $total = tri...

7.XSFieldMeta::getCustomTokenizer

... return self::$_tokenizers[$this->tokenizer]; } else { if (($pos1 = strpos($this->tokenizer, '(')) !== false && ($pos2 = strrpos($this->tokenizer, ')', $pos1 + 1))) { $name = 'XSTokenizer' . ucfirst(trim(substr($this->tokenizer, 0, $pos1))); $arg = ...

8.XSException

...om = getcwd(); $file = realpath($file); if (is_dir($file)) { $pos = false; $to = $file; } else { $pos = strrpos($file, '/'); $to = substr($file, 0, $pos); } for ($rel = '';; $rel .= '../') { if ($from === $to) { break; } if (...

9.下划线 被拆分

发布时间:2014-05-29 21:05 t By sean

"1234_7890" 加了双引号搜索还是被拆分 string(70) "Xapian::Query((1234:(pos=1) PHRASE 3 _:(pos=2) PHRASE 3 7890:(pos=3)))"

10.RE: 如何按分类搜索啊

更新时间:2012-02-21 14:02 t By flyfeng2

...oc); 这样的 是不是要清空后用add ?[hr] Xapian::Query((新闻:(pos=1) AND (type:(pos=2) PHRASE 2 1:(pos=3)))) 这样 但是木有数据

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