with a single '=' :) -- Anshum Gupta http://ai-cafe.blogspot.com
On Tue, Nov 30, 2010 at 3:03 PM, maven apache <apachemav...@gmail.com>wrote: > 2010/11/30 Chris Hostetter <hossman_luc...@fucit.org> > > > > > : Subject: What is the difference between the "AND" and "+" operator? > > > > In this query, "y" is mandatory, but documents that also match "x" will > > score higher then documents that only match "y"... > > > > x +y > > > > In both of these queries, "x" and "y" are both mandatory; a document only > > matching one of them will not match the query... > > > > +x +y > > x AND y > > > > That's to say +x+y == x AND y ? > > > > > > > -Hoss > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: java-user-unsubscr...@lucene.apache.org > > For additional commands, e-mail: java-user-h...@lucene.apache.org > > > > >