Re: Solr sort param behavior clarification

2012-02-02 Thread Erick Erickson
See below: On Thu, Feb 2, 2012 at 12:28 PM, tiuser123 wrote: > Hello Erick, > > > Erick Erickson wrote >> >> Lucene (where the sorting happens) assembles a list of all the unique >> *values* for a sort field and sorts the result set by comparing to that >> list. It doesn't sort all the documents

Re: Solr sort param behavior clarification

2012-02-02 Thread tiuser123
Hello Erick, Erick Erickson wrote > > Lucene (where the sorting happens) assembles a list of all the unique > *values* for a sort field and sorts the result set by comparing to that > list. It doesn't sort all the documents per-se. > Hmm, still confused. What do you mean by "sorts by comparing

Re: Solr sort param behavior clarification

2012-02-02 Thread Erick Erickson
First, sorting completely overrides scoring. So if you specify a sort, scoring is essentially ignored. If you specify more than one sort, they are applied in order. That is, any ties in the first sort parameter are broken by the second sort parameter. If all sort parameters specified tie, the inter