Dynamic facet limits using Solr

2019-10-25 Thread mohamedXYZ
How can I group my Solr query results using a numeric field into x buckets, where the bucket start and end values are determined when the query is run? For example, if I want to count and group documents into 5 buckets by a wordCount field, the results should be: 250-500 words: 3438 results 500-75

Dynamic facet limits using Solr

2019-10-25 Thread mohamedXYZ
How can I group my Solr query results using a numeric field into x buckets, where the bucket start and end values are determined when the query is run? For example, if I want to count and group documents into 5 buckets by a wordCount field, the results should be: 250-500 words: 3438 results 500-75