说明:由于solr底层使用的是lucene,因此修改solr打分机制归根结底还是依赖于lucene的打分机制,本文主要讨论lucene的打分机制。

本文说明lucene 常用的四种影响评分结果的方式。

  1、document设置boost

  2、Field设置boost

  3、查询时设置boost

  4、扩展Similarity实现。


 一、document设置boost

  暂缺。

二、Field设置boost

  暂缺。

三、查询时设置boost

  暂缺。

四、扩展Similarity实现

  暂缺。

相关文章:

  • 2022-12-23
  • 2021-09-12
  • 2022-12-23
  • 2022-01-08
  • 2021-09-12
  • 2021-05-10
  • 2022-12-23
猜你喜欢
  • 2022-01-21
  • 2022-12-23
  • 2022-01-08
  • 2022-01-08
  • 2021-06-08
  • 2021-05-30
  • 2021-09-09
相关资源
相似解决方案