Using Solrj, I wanted to sort the response of a range query based on some specific labels. For instance, using the query:
I wanted to display the response in the following order:
independently on the values of x, y, z which are the numbers of the retrieved documents for each range.
While Solr itself produces correctly the desired order (as specified in my query), SolrJ doesn't preserve it.
RE: Yonik, a solution could be just to change