title: Getting maximum value of field in solr
body: <p>I'd like to boost my query by the item's view count; I'd like to use something like <code>view_count / max_view_count</code> for this purpose, to be able to measure how the item's view count relates to the biggest view count in the index. I know <a href="http://wiki.apache.org/solr/SolrRelevancyFAQ#How_can_I_boost_the_score_of_newer_documents" rel="noreferrer">how to boost the results with a function query</a>, but how can I easily get the maximum view count? If anybody could provide an example it would be very helpful...</p>