搜索

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

1.RE: 关于排序问题

发布时间:2014-05-09 11:05 t By sszwei

[quote='bigxu' pid='7764' dateline='1399604012'] index=self 是对的。 你的cat_id是数字吗? getAddTerms 打印出看下。 如果有index,有term。查不出应该是不可能的. [/quote] [quote] $search->setQuery($array['word'])->setSort($array['sort'])->setLimit($array['limit']...

2.RE: 索引到一大半的时候出错退出,有没有办法继续?

发布时间:2011-10-25 11:10 t By hightman

Indexer.php 你可以在 sql 语句中指定 offset 和 limit --sql="select * from cdb_posts limit 999999999999 offset 5000000" 类似这样,OFFSET 不能单用必须配合 limit

3.$count = $search->getLastCount(); 结果成了$search->setLimit($limit, $offset);的设置的值

发布时间:2013-05-02 07:05 t By doudang

...: [id] type = id [title] type = title [tags] type = string index = both tokenizer = split([/[\s,\/]+/]) 搜索语句的写法为: $search->setLimit(10); //设置返回结果最多为 5 条,并跳过前 10 条 $docs = $search->search("tags:公务员考试 AND tags:论文 ...

4.RE: 索引到一大半的时候出错退出,有没有办法继续?

发布时间:2011-10-26 17:10 t By tisswb

[quote='hightman' pid='121' dateline='1319514186'] Indexer.php 你可以在 sql 语句中指定 offset 和 limit --sql="select * from cdb_posts limit 999999999999 offset 5000000" 类似这样,OFFSET 不能单用必须配合 limit [/quote] 呵呵 原来如此 非常感谢,数据已经导...

5.failed to open file

发布时间:2012-03-02 14:03 t By 张十三

...ki"); $wiki_date = new MongoDate(0); $xs = new XS('demo'); $index = $xs->index; while (true) { $wikis = $wiki_repo->find(array("query" => array("created_at" => array('$gt' => $wiki_date)), "sort" => array("created_at" => 1), "limit" => 100)); if (!$wikis) break;...

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

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

...----------------------------------+-----+ 22 rows in set (0.00 sec) 这是Indexer导入的结果 $php /usr/local/xunsearch/sdk/php/util/Indexer.php --project=${project_ini} --charset=utf8 --source=${mysql} --sql="select group_concat(game_tag.tag__id) as tag__id,t.id as id from m as t left join game...

7.为什么我更新的索引会没有数据呢?

更新时间:2012-09-28 10:09 t By zspoplar

...ire_once '/usr/local/xunsearch/sdk/php/lib/XS.php'; $xs = new XS('zl'); $index = $xs->index; $doc = new XSDocument; $conn=mysql_connect("localhost", "root", "111111") or die("Could not connect: " . mysql_error()); mysql_select_db('zi, $conn) or die ('Can\'t use test : ' . mysql_error()); $r...

8.帝国CMS安装迅搜_linux系统下

发布时间:2014-08-30 22:08 t By qiuxis

... cd $prefix bin/xs-ctl.sh restart 显示: INFO: stopping server[xs-indexd] (BIND:127.0.0.1:8383) .... [OK] INFO: re-starting server[xs-indexd] ... (BIND:127.0.0.1:8383) INFO: stopping server[xs-searchd] (BIND:127.0.0.1:8384) .... [OK] INFO: re-starting server[xs-searchd] ... (BIND:127.0.0...

9.帝国CMS安装迅搜_linux系统下

发布时间:2014-08-30 22:08 t By qiuxis

... cd $prefix bin/xs-ctl.sh restart 显示: INFO: stopping server[xs-indexd] (BIND:127.0.0.1:8383) .... [OK] INFO: re-starting server[xs-indexd] ... (BIND:127.0.0.1:8383) INFO: stopping server[xs-searchd] (BIND:127.0.0.1:8384) .... [OK] INFO: re-starting server[xs-searchd] ... (BIND:127.0.0...

10.使用讯搜搭建phpwind的全文检索

更新时间:2012-05-18 09:05 t By myoula

...目名.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...

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