solrrangeprogressive

Solr range gap progressive


Is there a way of having ranges (price) with a progressive gap, rather than a fixed one?

Like this:

0-100 100-150 150-250 250-400 400-600


Solution

  • Yes it is possible.

    Gaps can also be variable width by passing in a comma separated list of the gap size to be used.

    Have a look at the docs.