lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Gora Mohanty <>
Subject Re: how to sort multiple fields using solr
Date Mon, 27 Dec 2010 10:27:02 GMT
On Mon, Dec 27, 2010 at 3:51 PM, dhanesh vtc <> wrote:
> Hi,
> How can I sort  a search result based on  multiple  fields.
> I've two fields id and packageId for sorting
> My code is like 'sort'=>'packageId desc','sort'=>'id desc'
> But its sorting works only one field.
> Any idea??

This question is better addressed to the Solr user mailing
list, not the dev list.

Sorting can work on multiple fields: Please see: for such
an example.


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message