搜索

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

1.RE: 关于addWeight()使用的一些注意(分享&讨论)

发布时间:2011-12-15 21:12 t By KnightE

[quote='hightman' pid='355' dateline='1323925796'] 第 2. 点你可以对分类 id 不为 0 的统一在做索引时 $doc->addTerm('cid', 'have') 然后在搜索的时候 $search->addWeight('cid', 'have') 来提权 [/quote] 呵呵,是的,避开0就行了

2.RE: 关于addWeight()使用的一些注意(分享&讨论)

发布时间:2011-12-15 13:12 t By hightman

第 2. 点你可以对分类 id 不为 0 的统一在做索引时 $doc->addTerm('cid', 'have') 然后在搜索的时候 $search->addWeight('cid', 'have') 来提权

3.XSDocument

...索引文档的初始字段数据 $d string 可选参数, 当 $p 不为编码时, 本参数表示数据编码 源码: sdk/php/lib/XSDocument.class.php#L56 (显示) public function __construct($p = null, $d = null){ $this->_data = array(); if (is_array($p)) { $this->_data = ...

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