: All sorting of facets works great at the field level (count/index)...all good : there...but how is sorting accomplished with range queries? The solrj : response doesn't seem to maintain the order the queries are sent in, and the
The facet_queries section of the facet_counts is in the order that the facet.query params were provided to hte server -- if you're seeing them come back from SolrJ in a different order, then that may be a bug in SOlrJ (but that seems unlikely) Honestly though: i'm not sure why the order should really matter that much: in almost any client app you have to know how to make sense of the query string (possibly using the "key" feature mentioned by gwk) in order to do anything with it, so the client app could just slurp them all in and re-order them however it's most convinient. -Hoss