You're going to have to employ some UI work to make the arrangement
how you like. Order from Solr isn't going to be guaranteed.
Erik
On Mar 10, 2010, at 5:37 AM, Steve Radhouani wrote:
Using Solrj, I would like to sort the response of a range query
based on
some specific labels. For instance, using the query:
facet=true
&facet.query={!key= Less than 100}[* TO 99]
&facet.query={!key=100 - 200}[100 TO 200]
&facet.query={!key=200 +}[201 TO *]
I would like to display the response in the following order:
Less than 100 (x)
100 - 200 (y)
201 + (z)
independently on the values of x, y, z which are the numbers of the
retrieved documents for each range.
Any ideas?
Thanks