lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Martin Kobele <martin.kob...@netsweeper.com>
Subject Re: using search instead of explain
Date Thu, 04 May 2006 12:48:06 GMT
Hi Chris,

thank you very much. Let's hope the developers can get this bug fixed soon :)

Regards,
Martin

On Wednesday 03 May 2006 17:17, Chris Hostetter wrote:
> : 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
>
>Netsweeper Inc.
512 Woolwich Street, Suite 4
Guelph, Ontario N1H 3X7
support@netsweeper.com
Tel: 519-826-5222 ext. 224
Fax: 519-826-5228
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org
> For additional commands, e-mail: java-user-help@lucene.apache.org

-- 
Martin Kobele
Software Engineer


---------------------------------------------------------------------
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