lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Chris Hostetter <hossman_luc...@fucit.org>
Subject Re: What is the difference between the "AND" and "+" operator?
Date Tue, 30 Nov 2010 06:19:46 GMT

: 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


-Hoss

---------------------------------------------------------------------
To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-user-help@lucene.apache.org


Mime
View raw message