搜索

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

1.求助啊啊啊啊啊~~~同义词问题

更新时间:2014-04-22 09:04 t By zhouaini528

...ue)就开启 但是我测试部行啊 附上代码: [php] $xs = new XS('demo'); // 建立 XS 对象,项目名称为:demo $search=$xs->search; $search->setAutoSynonyms(true); $index->addSynonym('搜索','检索'); $index->addSynonym('搜索','查找'); [/php] 然后查看是否成功 [php] $x...

2.new MyDocument会找不到啊

发布时间:2014-07-10 15:07 t By 327532817

require_once 'xunsearch/lib/XS.php'; $xs = new XS('demo'); var_dump($xs); //到这里是正常的 $doc = new MyDocument; // Class 'MyDocument' not found 肯定没有这个类啊 我该怎么操作呢

3.执行demo搜索页面报错,【在线求帮助】

更新时间:2014-12-01 16:12 t By yuanhu9

...ata/new_shop/public/xunsearch-full/sdk/php/lib/XS.php'; 文件或者生成demo搜索页都报同一个错误; 错误:[XSErrorException] ../../../software/install/xunsearch-full/sdk/php/lib/XS.php(501): xcache_get(): XCache var cache was not initialized properly. Check php log for actual re...

4.failed to open file

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

...Repository("Wiki"); $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 (!...

5.在winodws 使用xunsearch的问题

更新时间:2013-12-14 14:12 t By wkx198742

...在windows下开发,我把sdk目录都粘贴下到本地中,修改了demo.ini server.index server.search 为ip:XXXX require $_SERVER['DOCUMENT_ROOT'].'sdk/php/lib/XS.php'; $xs = new XS($_SERVER['DOCUMENT_ROOT'].'sdk/php/app/demo.ini'); $docs = $xs->search->search('hightman'); print...

6.RE: 有没有简洁的php演示搜索代码

更新时间:2011-10-21 19:10 t By 3左3右

...原来是我get一个参数,但是没有在url里面传值。。。。 demo 项目在本地可以运行 search.php中的代码: $xs = new XS(`demo`); $search = $xs->search; $doc = $search->search("项目"); print_r($doc) 但是运行的时候报错,请问有可能是什么原因呢? Fatal...

7.搜索时出错!!!

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

... try { include '/usr/local/xunsearch/sdk/php/lib/XS.php'; $xs = new XS('demo'); $docs = $xs->search->search('15'); } catch (XSException $e) { echo $e; // 直接输出异常描述 if (defined('DEBUG')) // 如果是 DEBUG 模式,则输出堆栈情况 echo "\n" . $e-...

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

发布时间: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...

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

发布时间: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...

10.RE: 有没有简洁的php演示搜索代码

发布时间:2011-10-22 16:10 t By hightman

...来是我get一个参数,但是没有在url里面传值。。。。 demo 项目在本地可以运行 search.php中的代码: $xs = new XS(`demo`); $search = $xs->search; $doc = $search->search("项目"); print_r($doc) 但是运行的时候报错,请问有可能是什么原因呢...

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