Getting maximum value of field in solr

前端 未结 2 878
眼角桃花
眼角桃花 2021-02-08 15:58

I\'d like to boost my query by the item\'s view count; I\'d like to use something like view_count / max_view_count for this purpose, to be able to measure how the i

2条回答
  •  花落未央
    2021-02-08 16:34

    You can add just: &stats=true&stats.field=view_count You will see a small statistics on that specified field. More documentation here

提交回复
热议问题