搜索

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

1.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 肯定没有这个类啊 我该怎么操作呢

2.RE: 初次使用XS,关于平滑重建问题请教!

发布时间:2014-12-24 14:12 t By huye

$doc = new XSDocument; $doc->setFields($v); 改为 $doc = new XSDocument($v);

3.RE: Missing field of type ID

更新时间:2013-08-22 13:08 t By boxshadow

...了一个XS.php软连接到/usr/local/xunsearch/sdk/php/lib/XS.php $xs = new XS('../app/torrentkittys.ini') 和 $xs = new XS('torrentkittys'); $xs = new XS('../../../../usr/local/xunsearch/sdk/php/app/torrentkittys.ini'); 均不成功 均报错 Fatal error: Uncaught [XSException] ../../../../...

4.failed to open file

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

...ongo(); $wiki_repo = $mongo->getRepository("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" =>...

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

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

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

6.塔里木河的分词问题

发布时间:2013-06-08 12:06 t By wlx

...果。 require_once '/home/wlx/xunsearch/sdk/php/lib/XS.php'; $xs=new XS('westdc'); $tokenizer = new XSTokenizerScws; $text = '塔里木河下游浅层地下水变化的生态效应及生态系统健康评价研究项目的汇交数据'; $words = $tokenizer->getResult($text); print_r($wor...

7.迅搜报错

更新时间:2012-07-16 17:07 t By bustard

...52): Unexpected respond in search {CMD:129, ARG:514} 代码如下 $xs = new XS('discuz'); $tokenizer = new XSTokenizerScws; $subject = $tokenizer->getTops($forumattr['subject'], 20, 'n,ns'); $stack = array(); foreach($subject as $word) { array_push($stack, $word['word']); } $subject = implode(' ...

8.全文检索 tokenizer = full 时,无法查询

发布时间:2013-09-04 16:09 t By hongjh

...关数据 require_once '/usr/local/xunsearch/sdk/php/lib/XS.php'; $xs = new XS('goods'); $data = array( 'goods_id' => 112, 'goods_name' => 'hello my goodsname', 'goods_sn' => 'RX8899-114' ); $doc = new XSDocument; $doc->setFields($data); $xs->index->add($doc); 3....

9.RE: 请问hightman从硬件角度来看,怎么提升xunsearch速度呢?

更新时间:2012-06-20 17:06 t By Mr.

...速度有好处 我怀疑是这么多字段索引造成的压力 [php]$xs=new XS('shi'); $search=$xs->search; $docs=$search->setQuery($keyword)->setLimit(12,($list_page-1)*12)->search(); $count=$search->getLastCount(); $time=$search->setQuery($keyword)->setSort('time')->setLimit(22)->search();[...

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

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

... AFTER INSERT ON pw_threads FOR EACH ROW insert into mq (tid, type) values(new.tid, 0); CREATE TRIGGER umq AFTER UPDATE ON pw_threads FOR EACH ROW insert into mq (tid, type) values(old.tid, 1); CREATE TRIGGER dmq AFTER DELETE ON pw_threads FOR EACH ROW insert into mq (tid, type) values(old.tid, 2)...

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