搜索

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

1.贴一个wordpress搜索配置

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

...M wp_posts AS p LEFT JOIN wp_users AS u ON p.post_author=u.ID LEFT JOIN wp_term_relationships AS tr ON p.ID=tr.object_id LEFT JOIN wp_term_taxonomy tt ON tr.term_taxonomy_id=tt.term_taxonomy_id LEFT JOIN wp_terms AS t ON t.term_id=tt.term_id WHERE p.post_status='publish' AND (p.post_type='post' OR p...

2.RE: 二元分词问题

更新时间:2011-11-15 13:11 t By icebolt

...题 public function getTokens($value, XSDocument $doc = null) { $terms = array(); for ($i = 0; $i < mb_strlen($value,"utf-8"); $i += $this->arg) { $terms[] = mb_substr($value, $i, $this->arg,"utf-8"); } return $terms; } hightman可以改成这个,那中文一元切分...

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

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

...nking] => 0 [255] => ) [_terms:XSDocument:private] => [_texts:XSDocument:private] => [_charset:XSDocument:private] => UTF-8 [_meta:XSDocument:private] => Array ( [docid] => 950...

4.Wordpress搜索建立步骤

更新时间:2011-12-29 11:12 t By assad

..._content AS post_content_full,u.user_login AS author,t.name AS category,tt.term_taxonomy_id AS category_id FROM wp_posts AS p LEFT JOIN wp_users AS u ON p.post_author=u.ID LEFT JOIN wp_term_relationships AS tr ON p.ID=tr.object_id LEFT JOIN wp_term_taxonomy tt ON tr.term_taxonomy_id=tt.term_taxonomy...

5.RE: addIndex addTerm 区别

发布时间:2013-03-31 13:03 t By hightman

addIndex 为根据分词器调用分词分为多个term 。addTerm则不分词直接加term

6.RE: 关于XS:getExpandedQuery() 方法,获取展开的搜索词列表

发布时间:2011-12-06 17:12 t By popfeng

...); $docs = $search->search(); $terms = $search->getExpandedQuery($tag); 然后对 $docs 和 terms 取交集就可以了, 只不过执行了两次查询,又掉消耗效率。

7.搜索提示不显示了?

更新时间:2013-06-23 11:06 t By chinapubmed

...,搜索还是正常的,但是搜索提示不显示了。似乎是那个term返回的数值为空。 例如 http://s-68668.gotocdn.com/mesh/so/suggest.php?term=o,返回为[] 按理说应该返回["of","on","or","org","one","our","out","open","over","only"]之类的呀。 请知道的朋友帮...

8.导入mysql 数据的时候报错了

发布时间:2013-03-29 11:03 t By jcookies

import[13695] ERROR xapian exception (ERROR:Term too long (> 245) 如何解决呢

9.RE: 关于排序问题

发布时间:2014-05-09 10:05 t By bigxu

index=self 是对的。 你的cat_id是数字吗? getAddTerms 打印出看下。 如果有index,有term。查不出应该是不可能的.

10.RE: getAllSynonyms 当我同义词库上100W

更新时间:2014-04-29 11:04 t By hightman

好吧,我考虑加一个。。。 最新 1.4.9-dev 版新增接口: XSSearch::getSynonyms(string $term); 也可以用 util/Quest.php --list-synonyms=??? 来列出 ??? 的全部同义词

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