一部のキーワード フィールドに永続的なレベランス ボーナスを設定することはできますか? 商品名フィールド、id キーワード フィールド、優先キーワード フィールドがあります。検索のrevelance +結果の優先度のような結果のrevelanceを設定したい。
//id of product
$doc->addField(Zend_Search_Lucene_Field::Keyword('pk', $this->getId(), "utf-8"));
//i want set permanent revelance bonus on that field
$doc->addField(Zend_Search_Lucene_Field::Keyword('priotity', "priority", "utf-8"));
//field for search
$doc->addField(Zend_Search_Lucene_Field::UnStored('description', $this->getDescription(), "utf-8"));
たとえば、Apple iPhone を検索すると、結果は次のようになるはずです: 最大一致最大優先度、最大一致次優先度、最大一致次優先度