...type = numeric[hr] 现在我已经把字段改成 [type] type = numeric index = self 这样了 但是我更新所以好像没效果 $index->update($doc); 这样的 是不是要清空后用add ?[hr] Xapian::Query((新闻:(pos=1) AND (type:(pos=2) PHRASE 2 1:(pos=3)))) 这样 但是木有...
...目名.ini project.name = 项目名 project.default_charset = UTF-8 server.index = 192.168.0.250:8383 server.search = 192.168.0.250:8384 [tid] type = id [fid] index = self tokenizer = full [author] [authorid] index = self tokenizer = full [postdate] tokenizer = full [subject] type = title [co...
...de][root@a107 ~]# /usr/local/php/bin/php /usr/local/xunsearch/sdk/php/util/Indexer.php --project=xxx –-source=mysql://xxx:xxx@localhost/xxx --sql="select ID,post_title,post_content,UNIX_TIMESTAMP(post_date) as post_time from wp_posts where (post_status='publish' or post_status='pending') and post_...
... - util/Quest.php 命令行运行,搜索测试工具 - util/Indexer.php 命令行运行,索引管理工具 - util/SearchSkel.php 命令行运行,根据配置文件生成搜索骨架代码 - util/xs 命令行工具统一入口 在开始编写您的...