lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Chris Hostetter <>
Subject Re: using search instead of explain
Date Wed, 03 May 2006 21:17:25 GMT

: Now we want to use, HitCollection).
: HitCollection adds the document to a BitSet as soon as the score is non-zero.
: Is there any relation between the value of the explanation and the score?

Generally speaking, calling Explain is suppose to return a detailed
explanation of how the score you would get in a HitCollector was
calcuated, but the documentation (and the code implimenting explain in
various Scorers) is vague as to what should happen in cases where the
document doesn't "match" your query.

So the score you get in a HItCollector forany matching document *should*
be equal to the value from an Explanation of that query and doc ... but
there are also some cases where the Explanation contains an incorrectly
computed value, this is a bug...


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

View raw message