lucene-java-user mailing list archives

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

: Now we want to use Search.search(Query, 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...

http://issues.apache.org/jira/browse/LUCENE-557?page=all

-Hoss


---------------------------------------------------------------------
To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-user-help@lucene.apache.org


Mime
View raw message