搜索

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

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

发布时间:2014-12-08 18:12 t By melody

...eginRebuild(); foreach ($data as $k => $v) { $doc = new XSDocument; $doc->setFields($v); $index->update($doc); } $index->endRebuild(); 问题 1:命令行下平滑重建能不能输出执行时间 2:A和B方法重建原理一样...

12.更新、修改文档

...内容部分', 'chrono' => time() ); // 创建文档对象 $doc = new XSDocument; $doc->setFields($data); // 更新到索引数据库中 $index->update($doc); ~~~ $Id$

13.建立索引不完整问题

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

... 'time' => time() ); $document = new XSDocument; $document->setFields($array); $index->update($document); } $index->closeBuffer(); } $index->endRebuild(); [/php] 实际数据为61084,但是写入到index的数...

14.请问: $index->add($doc)能调试的不

更新时间:2011-12-09 18:12 t By aecol

...长,省略了 // 创建文档对象 $doc = new XSDocument; $doc->setFields($data); if ($isnewdoc) { // 添加到索引数据库中 $index->add($doc); ...

15.failed to open file

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

... 'time' => time() ); $document = new XSDocument; $document->setFields($array); $index->add($document); echo (string)$wiki->getId()." is update to xunsearch Document \r\n"; $wiki_date = new MongoDate($wiki->getC...

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

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

... 'hello my goodsname', 'goods_sn' => 'RX8899-114' ); $doc = new XSDocument; $doc->setFields($data); $xs->index->add($doc); 3. 查询 3.1 $docs = $xs->search->search('RX8899-114'); ===> 无结果 3.2 $docs = $xs->search->search('RX8899'); ===> 有结果 3.3 $docs = ...

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

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

...k/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()); $result=mysql_query("select id,titl...

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

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

... $thread['tid'] = $tid; $doc = new XSDocument; $doc->setFields($thread); $index->add($doc); } echo '200'; ...

19.XSSearch

...$this->search($type . ':1'); foreach ($result as $doc) /* @var $doc XSDocument */ { $body = $doc->body; $ret[$body] = $doc->f($type); } $this->restoreDb(); } catch (XSException $e) { if ($e->getCode() != XS_CMD_ERR_XAPIAN) { throw $e; ...

20.增量索引不成功

发布时间:2014-02-13 17:02 t By lzc2523700

...ect_name); //获取 索引对象 $index = $xs->index; $doc = new XSDocument; $result = array(); $result = $this->temp_db->get_where($table, array($table_key_array[$table] => $id))->row_array(); if(empty($result)){ $doc->setFields($result); $res = $index->add($doc); ret...

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