How to get facet ranges in solr results?

前端 未结 4 733
无人共我
无人共我 2020-12-05 03:34

Assume that I have a field called price for the documents in Solr and I have that field faceted. I want to get the facets as ranges of values (eg: 0-100, 100-500, 5

4条回答
  •  执念已碎
    2020-12-05 03:49

    You can use solr facet ranges

    http://wiki.apache.org/solr/SimpleFacetParameters#Facet_by_Range

提交回复
热议问题