搜索

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

41.按字段值分面搜索

...面搜索 分面搜索在英文中通常表述为 `Facets Search`,被检索的数据通具有多维度属性。 例如一本书包含主题、作者、年代等,而分面搜索是指通过事物的这些属性不断筛选、 过滤搜索结果的方法,可以将分面搜索看...

42.如何按分类搜索啊

发布时间:2012-02-21 12:02 t By flyfeng2

我索引的时候有个字段 type 0为新闻 1为产品 现在如何 where type=1这样的啊? $docs = $search->setQuery($skey)->addWeight('title', $skey)->search(); 这里不知道怎么写?

43.能在某个分类下进行模糊搜索么

发布时间:2013-07-10 16:07 t By beike228

$docs=$search->setFuzzy()->setQuery("植物大战僵尸")->search(); 比如我要搜索某个分类下的"植物大战僵尸"

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

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

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

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

发布时间:2011-10-25 10:10 t By tisswb

...的跳过就可以了。例如: [php]$query = "id:1753"; $docs = $xs->search->search($query); print_r($docs);[/php] [/quote] 我是使用util/Indexer.php --source=mysql://aaa:aaa@192.168.0.2/bbs_test --sql="select * from cdb_posts" --project=discuz 这个命令进行导入的,不知道...

46.为什么我这样写查不出结果集?

发布时间:2013-03-23 08:03 t By gaochunmeng

require_once './lib/XS.php'; $xs = new XS('demo'); $search = $xs->search; $docs = $search->search('cat_ids:108 a'); ---------------------------------------------------------- project.name = demo project.default_charset = utf-8 server.index = 8383 server.search = 8384 [goods...

47.为什么我这样写查不出结果集?

发布时间:2013-03-23 08:03 t By gaochunmeng

require_once './lib/XS.php'; $xs = new XS('demo'); $search = $xs->search; $docs = $search->search('cat_ids:108 a'); ---------------------------------------------------------- project.name = demo project.default_charset = utf-8 server.index = 8383 server.search = 8384 [goods...

48.xunsearch搜索的时候右边出现的几种分类是怎么实现的

发布时间:2014-03-12 17:03 t By 情雨轩

xunsearch搜索的时候右边出现的几种分类是怎么实现的? [name] //分类名 index = self [cid] //分类id type = numeric index = none 在搜索页面 $search->setFacets('name'); //得到分面搜索数据 // get the result $search_begin = microtime(true); $docs = $sea...

49.搜索时出错!!!

更新时间:2012-08-03 11:08 t By renzhig

[b][XSErrorException] ../../usr/local/xunsearch/sdk/php/lib/XS.php(2213): stream_set_blocking(): supplied argument is not a valid stream resource(2)[/b] 代码: try { include '/usr/local/xunsearch/sdk/php/lib/XS.php'; $xs = new XS('demo'); $docs = $xs->search->search('15'); } catch (XSExceptio...

50.讯搜的一些优化

发布时间:2012-05-17 21:05 t By myoula

1 定时优化 crontab -e 30 3 * * * /usr/local/xunsearch/bin/xs-optimize.sh 项目名 service crond reload #注意 xs-optimize.sh 会报home错误 将17行home = $prefix/data/$1中间的空格去掉 home=$prefix/data/$1 2 提高索引更新速度 xs-indexd -h 看到 -q这个参数 默认...

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