Re: Scores equality

2010-06-13 Thread Naama Kraus
HTH > Erick > > On Sun, Jun 13, 2010 at 9:38 AM, Naama Kraus wrote: > > > Hi All, > > > > I wanted to ask regarding search results scores equality: > > In case two documents get an equal score - how does Lucene "break" > equality > > ? >

Re: Scores equality

2010-06-13 Thread Erick Erickson
, see the API for Sort and SortField... The default is pretty much equivalent to a Sort object with two SortFields, the two mentioned above... HTH Erick On Sun, Jun 13, 2010 at 9:38 AM, Naama Kraus wrote: > Hi All, > > I wanted to ask regarding search results scores equality: >

Scores equality

2010-06-13 Thread Naama Kraus
Hi All, I wanted to ask regarding search results scores equality: In case two documents get an equal score - how does Lucene "break" equality ? I.e. by which criteria one document would be ranked before another ? Random ? Indexing time ? Anything else ? Can I control this one someh