On Mon, Dec 27, 2010 at 3:51 PM, dhanesh vtc <[email protected]> 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: http://lucene.apache.org/solr/tutorial.html#Sorting for such an example. Regards, Gora --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
