搜索

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

1.addWeight提权的问题 提不上去

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

...] => XSDocument Object ( [_data:XSDocument:private] => Array ( [gid] => 27490 [name] => 摩托车疯狂2 [pid] => 3 [pid_3] => 3 [pname_3] => wp ...

2.RE: 关于排序问题

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

...查不出应该是不可能的. [/quote] [quote] $search->setQuery($array['word'])->setSort($array['sort'])->setLimit($array['limit'], $array['offset'])->search(); [/quote] 做了这样 [quote] $search->setSort($array['sort'])->setLimit($array['limit'], $array['offset'])->search($array['wor...

3.建立索引不完整问题

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

... $index->openBuffer(); foreach ($wikis as $wiki) { $array = array( 'pid' => (string)$wiki->getId(), 'title' => $wiki->getTitle(), 'tag' => is_array($wiki->getTags()) ? implode(' ', $wiki->getTags()) : $wiki->getTags(), ...

4.failed to open file

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

...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; foreach ($wikis as $wiki) { $array = array( ...

5.RE: 英文模糊搜索问题

发布时间:2013-07-31 15:07 t By homingway

...){ $charset = is_object($doc) ? $doc->getCharset() : 'UTF-8'; $ret = array(); //如果词的总长度小于给定的长度,则直接返回该词 $strlen = mb_strlen($value,$charset); if($strlen length) { $ret[] = $value; return $ret; } $ret = array_merge($ret,explode('...

6.RE: getHotQuery()getCorrectedQuery()getRelatedQuery()无结果是啥情况?

更新时间:2011-11-22 10:11 t By hightman

...ery() getRelatedQuery() 这三个均无法获取到结果,返回的均是array() 请问hotquery按照type=total是不是只要搜索1次就会有结果?还是这个统计结果是有阀值的,例如搜索50次才会返回结果?任何词达不到这个值均不返回结果? 我测试搜...

7.怎么创建词库啊?

发布时间:2013-01-09 18:01 t By pingrj

...那么创建吧,而且这个创建了是存到那里了呢? $data = array( 'pid' => 234, // 此字段为主键,必须指定 'subject' => '测试文档的标题', 'message' => '测试文档的内容部分', 'chrono' => time() ); // 创建文档对象 $doc = new XSDo...

8.RE: getHotQuery()getCorrectedQuery()getRelatedQuery()无结果是啥情况?

发布时间:2011-11-21 16:11 t By askie

[quote='hpxl' pid='247' dateline='1321860679'] 搜索日志已被缓存,如果要清空缓存可以执行,$xs->index->flushLogging(); [/quote] 执行后,连续执行关键词搜索,均不出结果。还是array()

9.RE: 填充测试数据的时候出现错误

发布时间:2011-09-19 17:09 t By tisswb

...iled to open file(S#513) #0 ../phplib/XS.php(1089): XSServer->execCommand(Array, 250) #1 ../phplib/XS.php(1094): XSIndex->addExdata('????????111????...') #2 ../phplib/XS.php(1100): XSIndex->openBuffer(0) #3 ../phputil/Indexer.php(206): XSIndex->closeBuffer() #4 {main} PHP Fatal error: Excepti...

10.RE: 填充测试数据的时候出现错误

发布时间:2013-06-20 11:06 t By tisswb

...iled to open file(S#513) #0 ../phplib/XS.php(1089): XSServer->execCommand(Array, 250) #1 ../phplib/XS.php(1094): XSIndex->addExdata('????????1??????...') #2 ../phplib/XS.php(1100): XSIndex->openBuffer(0) #3 ../phputil/Indexer.php(206): XSIndex->closeBuffer() #4 {main} PHP Fatal error: Excepti...

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