title: How to use min() and max() function in solr range query?
body: <p>I am using solr facet range query to get the <code>project_score</code> facet.  Currently I have fixed start,  end and gap values. However I want to use the minimum value of project_score as start and maximum value as end. Ascending and descending sort query and stat are the ways I found, but that requires 2 or more queries. Is there a way to accomplish this in a single query? Something like: <code>facet.project_score.start=min(project_score)</code>? </p>