Can you post a full example as a Unit test?
On Jul 21, 2010, at 5:25 PM, Philippe wrote:
> Hi,
>
> I just performed two queries which, in my opinion, should lead to the same
> document rankings. However, the document ranking differ between these two
> queries. For better understanding I prepar
Well,
that's difficult at the moment as I can also just reproduce this error
for some few cases. But I will try to generate such an example..
Cheers,
Philippe
Am 22.07.2010 12:34, schrieb Ian Lea:
No, I don't have an explanation. Perhaps a minimal self-contained
program or test case wou
No, I don't have an explanation. Perhaps a minimal self-contained
program or test case would help.
--
Ian.
On Thu, Jul 22, 2010 at 10:23 AM, Philippe wrote:
> Hi Ian,
>
> I'm using Version 2.93 of lucene.
>
> q.getClass() and q.toString() are exactly equal:
> org.apache.lucene.search.BooleanQ
Hi Ian,
I'm using Version 2.93 of lucene.
q.getClass() and q.toString() are exactly equal:
org.apache.lucene.search.BooleanQuery
TITLE:672 BOOK:672
However, the results for searcher.explain(q,n) significantly differ. It
seems to me that "Query q = parser.parse("672");" searches only one the
They look the same to me too.
What does q.getClass().getName() say in each case? q.toString()?
searcher.explain(q, n)?
What version of lucene?
--
Ian.
On Wed, Jul 21, 2010 at 10:25 PM, Philippe wrote:
> Hi,
>
> I just performed two queries which, in my opinion, should lead to the same
> do
Hi,
I just performed two queries which, in my opinion, should lead to the
same document rankings. However, the document ranking differ between
these two queries. For better understanding I prepared minimal examples
for both queries. In my understanding both queries perform the same
task. Nam