lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Anshum <ansh...@gmail.com>
Subject Re: What is the difference between the "AND" and "+" operator?
Date Tue, 30 Nov 2010 09:39:10 GMT
with a single '=' :)

--
Anshum Gupta
http://ai-cafe.blogspot.com


On Tue, Nov 30, 2010 at 3:03 PM, maven apache <apachemaven0@gmail.com>wrote:

> 2010/11/30 Chris Hostetter <hossman_lucene@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-unsubscribe@lucene.apache.org
> > For additional commands, e-mail: java-user-help@lucene.apache.org
> >
> >
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message