lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Kelly Taylor <>
Subject How does one sort facet queries?
Date Fri, 19 Feb 2010 01:15:58 GMT

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
order is not in index or count order. What's the trick?

  &facet.query=price:[* TO 100]
  &facet.query=price:[100 TO 200]
  &facet.query=price:[200 TO 300]
  &facet.query=price:[300 TO 400]
  &facet.query=price:[400 TO 500]
  &facet.query=price:[500 TO 600]
  &facet.query=price:[600 TO 700]
  &facet.query=price:[700 TO *]  

View this message in context:
Sent from the Solr - User mailing list archive at

View raw message