Re: using search instead of explain

2006-05-04 Thread Martin Kobele
awesome, thank you very much! Regards, Martin On Thursday 04 May 2006 17:15, Chris Hostetter wrote: > : so the score is always correct, just the Explain can return values > : greater than 0 although the query did not match the document due to a > : bug in Explain? Are all version affected of that

Re: using search instead of explain

2006-05-04 Thread Chris Hostetter
: so the score is always correct, just the Explain can return values : greater than 0 although the query did not match the document due to a : bug in Explain? Are all version affected of that? I use lucene 1.9.1. 1) the score returned by TopDocs or passed to a HitCollector is by definition the co

Re: using search instead of explain

2006-05-04 Thread Martin Kobele
so the score is always correct, just the Explain can return values greater than 0 although the query did not match the document due to a bug in Explain? Are all version affected of that? I use lucene 1.9.1. Thanks! Regards, Martin On Thursday 04 May 2006 09:27, Yonik Seeley wrote: > On 5/4/06,

Re: using search instead of explain

2006-05-04 Thread Yonik Seeley
On 5/4/06, Martin Kobele <[EMAIL PROTECTED]> wrote: thank you very much. Let's hope the developers can get this bug fixed soon :) While it would be nice to have a 100% accurate explain(), it should only be used for debugging purposes (and it's normally going to be *much* slower than using a Hit

Re: using search instead of explain

2006-05-04 Thread Martin Kobele
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 > : n

Re: using search instead of explain

2006-05-03 Thread Chris Hostetter
: 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 o

using search instead of explain

2006-05-03 Thread Martin Kobele
Hi, at the moment we match a query with a document with explain. We consider the document as matched if the Explanation.getValue() is above a certain value (> 0.001) Now we want to use Search.search(Query, HitCollection). HitCollection adds the document to a BitSet as soon as the score is non-