如果最终用户提供的搜索词包含Decrease_Relevance_Text字段中包含的任何单词或短语(但不必完全匹配),则该特定产品的相关性将减少Decrease_Relevance_Points中的数量
should do
custom_score :script => "_score+doc['increase_relevance_points'].value" do
boolean do
should { match :increase_relevance_text, term}
end
end
end
本文收集自互联网,转载请注明来源。
如有侵权,请联系 [email protected] 删除。
我来说两句