Re: possible score value

2008-11-10 Thread Chris Hostetter
: Did you come across : : scoreNorm = 1.0f / topDocs.getMaxScore(); : or something of this sort in Hits? : As per my knowledge, the initial score is more than 1 but finally the scores : get divided by the maxScore of the matched doc set. i.e. Setting an upper : limit of 1 (for the max scorer

Re: possible score value

2008-11-06 Thread Francisco Borges
Hello Anshum, No, I hadn't seen that. I had only gone through Similarity, and Weight classes and worked through their calculations. Thank you very much for the clarification! Kind regards, Francisco On Thu, Nov 6, 2008 at 11:59 AM, Anshum <[EMAIL PROTECTED]> wrote: > Hi Fransisco, > > Did you

Re: possible score value

2008-11-06 Thread Anshum
Hi Fransisco, Did you come across : scoreNorm = 1.0f / topDocs.getMaxScore(); or something of this sort in Hits? As per my knowledge, the initial score is more than 1 but finally the scores get divided by the maxScore of the matched doc set. i.e. Setting an upper limit of 1 (for the max scor

possible score value

2008-11-06 Thread Francisco Borges
Hello, I have been going through the scoring documentation and code. I had the expectation that Lucene would enforce a score value between [0,1]. But from what I can grasp from the code and docs, score values can be greater than one. Does Lucene considers score values greater than 1 as valid? K