Solr supports interval faceting which allows to compute counts for documents matching predefined ranges.
Search API Solr does not support this, although it does support arbitrary facet queries (implemented in #2128537: Add support for facet queries → ) which provides a workaround at the expense of performance:
If you are concerned about the performance of your searches you should test with both options. Interval faceting tends to be better with multiple intervals for the same fields, while facet query tend to be better in environments where filter cache is more effective (static indexes for example).
https://lucene.apache.org/solr/guide/6_6/faceting.html#Faceting-Interval...
We do use interval faceting via this sandbox module I made, but the integration would definitely be better if it was supported natively by Search API Solr: https://www.drupal.org/sandbox/fengtan/3108034 →
Does it make sense to support facet intervals in this module, similar to what was done in #2128537: Add support for facet queries → ?
Note that a couple of other modules implement a similar functionality but do not make use of Solr facet intervals:
Closed: won't fix
1.0
Code
Not all content is available!
It's likely this issue predates Contrib.social: some issue and comment data are missing.