How to get minimum and maximum price in Solr?

Showing a price range selector for visitor to narrow down search is a common use case for eCommerce sites. Usually developers try to use…