: I'd like to generate stats for the results of a facet range. : For example, calculate the mean sold price over a range of months. : Does anyone know how to do this? : This Jira issue seems to indicate its not yet possible. : [SOLR-6352] Let Stats Hang off of Range Facets - ASF JIRA
This is possible using the JSON Facet API... https://lucene.apache.org/solr/guide/7_3/json-facet-api.html This newer API syntax is more expressive and easier to add new syntax to, so it's unlikely you'll see more features like this added to the older faceting API -- and will geet less and less likely as time goes on. -Hoss http://www.lucidworks.com/