lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Chris Hostetter <>
Subject Re: queryNorm affect on score
Date Sat, 28 Feb 2009 17:35:55 GMT

: I guess I don't really understand this comment in the similarity java doc
: then:
: *queryNorm(q) * is a normalizing factor used to make scores between queries
: comparable.

that comment should probably be removed ... in situations where you 
deal with simple query types, and matching query structures, the queryNorm 
*can* be used to make scores semi-comparable.

To be 100% correct about what the queryNorm does in all cases: it 
normalizes each of the constituent values that are used in the score 
computation relative to the other constituent values.  the main value I've 
seen from it is that it prevents a loss of floating point accuracy that 
can result from addition/multiplication of large values.


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message