摘要: 说明:由于solr底层使用的是lucene,因此修改solr打分机制归根结底还是依赖于lucene的打分机制,本文主要讨论lucene的打分机制。本文说明lucene 常用的四种影响评分结果的方式。 1、document设置boost 2、Field设置boost 3、查询时设置boost 4、扩展Similarity实现。一、document设置boost: 暂缺。二、Field设置boost: 暂缺。三、查询时设置boost: 暂缺。四、扩展Similarity实现: 暂缺。 阅读全文
posted @ 2014-03-21 11:45 于辰 阅读(676) 评论(0) 推荐(0) 编辑