搜索

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

121.啥时候可以针对 split(|) 分割的字段进行分面搜索

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

...s('goods_tag_id')->search(); $arr1 = $search->getFacets('goods_tag_id'); if($arr1) { foreach ($arr1 as $kx => $vs) { $tagCount[$kT] += $vs; } }else{ $tagCount[$kT] = 0; } } 这样之后还是有误差,无奈之下,在每个循环后面加了个setlimit(10000000) $search->setQuery(...

122.Indexer 导入数据和 mysql查询结果不一致, why??

更新时间:2013-09-25 13:09 t By airowner

...答[hr] oh my god , 这.... 203 $this->sql = $sql; 204 if ($this->limit == 0) { 205 $sql = preg_replace('/SELECT\s+.+?FROM\s/i', 'SELECT COUNT(*) AS count FROM ', $sql); 206 $res = $this->db->query1($sql); 207 $this->limit = $res['count'] - $this...

123.scws_set_multi()函数的一个小问题....

发布时间:2010-12-06 22:12 t By lauxinz

..._MASK; //清空s->mode的0x12345,中12部分,345部分保留原值 if (mode & SCWS_MULTI_MASK) //mode的12部分保留,345部分清0 s->mode |= mode; } mode取值为1的话=0x00000001,mode & SCWS_MULTI_MASK怎么会为真呢?

124.安装时错误

更新时间:2011-11-09 21:11 t By fg0711

...ng C++ compiler to compile Xapian, but configure failed to *** find one. If you have a working C++ compiler, you can tell configure where *** to find it by invoking it like so: *** *** ./configure CXX=/opt/bin/c++ ----- ERROR: failed to configure xapian-core-scws, see 'setup.log' for more...

125.搜索建议和纠错

...下面方法试图进行修正 $corrected = $search->getCorrectedQuery(); if (count($corrected) !== 0) { // 有纠错建议,列出来看看;此情况就会得到 "测试" 这一建议 echo "您是不是要找:\n"; foreach ($corrected as $word) { echo $word . "\n"; } } /**...

126.Libscws C API 使用说明

更新时间:2010-12-30 22:12 t By hightman

...曲是一个中国人, 我有时买Q币来玩, 我还听说过C#语言"; if (!(s = scws_new())) { printf("error, can't init the scws_t!\n"); exit(-1); } scws_set_charset(s, "gbk"); scws_set_dict(s, "/path/to/dict.xdb", SCWS_XDICT_XDB); scws_set_rule(s, "/path/to/rules.ini"); scws_send_text(s, text...

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