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 <j...@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.