lucene-general mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Michael McCandless <luc...@mikemccandless.com>
Subject Re: different result for 'OR'
Date Mon, 21 Jan 2013 13:16:16 GMT
That is odd.  Can you print the Query.toString of the actual two
queries you are running?  (I think the OR must be capitalized to be
parsed by the classic QueryParser?).

Mike McCandless

http://blog.mikemccandless.com

On Mon, Jan 21, 2013 at 7:34 AM, Jeroen Venderbosch <jve@woodwing.com> wrote:
> I would expect that the query *q=description:(electronics) or
> description:(usb)* would give the same number of results as
> *q=description:(electronics or usb)*. But the first query returns 9662
> documents and the second one 9493. What is the difference?
>
>
>
> --
> View this message in context: http://lucene.472066.n3.nabble.com/different-result-for-OR-tp4035014.html
> Sent from the Lucene - General mailing list archive at Nabble.com.

Mime
View raw message