说明:由于solr底层使用的是lucene,因此修改solr打分机制归根结底还是依赖于lucene的打分机制,本文主要讨论lucene的打分机制。
本文说明lucene 常用的四种影响评分结果的方式。
1、document设置boost
2、Field设置boost
3、查询时设置boost
4、扩展Similarity实现。
一、document设置boost:
暂缺。
二、Field设置boost:
暂缺。
三、查询时设置boost:
暂缺。
四、扩展Similarity实现:
暂缺。
lucene/solr 修改评分规则方法总结,布布扣,bubuko.com
原文:http://www.cnblogs.com/tq03/p/3615517.html