import[13695] ERROR xapian exception (ERROR:Term too long (> 245) 如何解决呢
经常这样吗,我尝试修复一下 Xapian::DatabaseModifiedError ,你重新下载 1.4.9-dev 试试。
"1234_7890" 加了双引号搜索还是被拆分 string(70) "Xapian::Query((1234:(pos=1) PHRASE 3 _:(pos=2) PHRASE 3 7890:(pos=3)))"
Xapian 里对 facets 的功能实现其实并不是很优雅,效率也一般,相当于增加 matchspy ... 如果是为了分组统计建议直接生成要关词条再用 count() 做估算。
configure: error: *** You need a working 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++
You need a working 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: 搜索下错误提示似乎是你没装c++的编译器
[quote='hightman' pid='3473' dateline='1361873508'] 自己规划就行了,xapian库支持远程的 [/quote] 你好,怎么支持远程呢,有相关资料吗
构建的搜索语句是 echo $search->getQuery($q); ------------------------------------------------------------ Xapian::Query(((F163:(pos=1) AND B海南:(pos=2)) FILTER H1))