...le:宠物 OR 宠物 ) AND b_city_id:31')->setlimit(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 ...
...>getId(), 'title' => $wiki->getTitle(), 'tag' => $wiki->getTag(), 'time' => time() ); $document = new XSDocument; $document->setFields($array); $index->add($document); echo (string)...
...,大家可以测试下。效果蛮好的(已经抛弃了hdwiki自带的tag搜索和全文搜索,仅保留了它的title搜索)! a, 中文PubMed搜索 http://www.chinapubmed.net/pub/search.php 这个词条约50万(6200个纯手工打造,其他程序导入)(数据库文件700多...
...令util/Indexer.php --rebuild --source=mysql://隐藏 --sql="select did, tag, title, content from wiki_doc" --filter=/usr/local/xunsearch/sdk/php/lib/MyBlogFilter --project=go >log.txt 然后仍然显示”忽略错误的过滤器“,我查了下感觉没啥问题啊。怎么老忽略呢?谢...
/bin/sh ../libtool --preserve-dup-deps --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -g -O2 -MT xdb.lo -MD -MP -MF .deps/xdb.Tpo -c -o xdb.lo xdb.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -g -O2 -MT xdb.lo -MD -MP -MF .deps/xdb.Tpo -c xdb.c -DDLL_EXPORT -DPIC -o .libs/xdb.o...
...usr/local/scws-1.2.1/libscws” /bin/sh ../libtool --preserve-dup-deps --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -g -O2 -MT xdb.lo -MD -MP -MF .deps/xdb.Tpo -c -o xdb.lo xdb.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -g -O2 -MT xdb.lo -MD -MP -MF .deps/xdb.Tpo -c xdb.c ...
...atic libraries... no configure: creating libtool appending configuration tag "CXX" to libtool appending configuration tag "F77" to libtool checking for a BSD-compatible install... /usr/bin/install -c checking for expf in -lm... yes checking for ANSI C header files... (cached) yes checking fcn...
...L; + x->mode = 'w'; memset(&xhdr, 0, sizeof(xhdr)); memcpy(&xhdr.tag, XDB_TAGNAME, 3); xhdr.ver = XDB_VERSION; *************** *** 232,249 **** { if (x == NULL) return; ! if (x->fmap != NULL) { munmap(x->fmap, x->fsize); x->fmap = NULL; } ...
... to build static libraries... no creating libtool appending configuration tag "CXX" to libtool configure: creating ./config.status config.status: creating config.h
... + } + ZEND_FETCH_RESOURCE(ps, struct php_scws *, tmp, -1, PHP_SCWS_OBJECT_TAG, le_scws); + + scws_use_rule(ps->s, boolset ? SCWS_YEA : SCWS_NA); + RETURN_TRUE; +} + PHP_FUNCTION(scws_set_multi) { long multi = 0; diff -ur scws-1.2.1/phpext/php_scws.h scws-1.2.1.changed/phpext/php_scws.h --- scw...