Re: Score: Randomize form

2007-11-27 Thread Haroldo Nascimento
Its works. The solution is the implementation of SortComparatorSource interface. Thanks Chris, On Nov 26, 2007 10:17 PM, Chris Hostetter <[EMAIL PROTECTED]> wrote: > > : I think you have a couple of problems here. First, you'll have to > : normalize the scores to get *any* of them to be the sa

Re: Score: Randomize form

2007-11-26 Thread Chris Hostetter
: I think you have a couple of problems here. First, you'll have to : normalize the scores to get *any* of them to be the same. Since : the scores are a float, very few of them will be exactly the same. it's not as rare as it seems, with lengthNorm byte encoding and low tf values it can happen q

Re: Score: Randomize form

2007-11-26 Thread Erick Erickson
I think you have a couple of problems here. First, you'll have to normalize the scores to get *any* of them to be the same. Since the scores are a float, very few of them will be exactly the same. I really suspect that you need to use a HitCollector (or TopDocs?) and collect the hits into buckets,

Score: Randomize form

2007-11-26 Thread Haroldo Nascimento
Hi I show the results of searches as two criterios of sorting ("priority" and to after "score") of each document. I need present the result with same score of ramdomize form. For example: *Result of search 1: * keyword: hotel POS PRI SCORE DOC 15 100 A 24