You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-user@lucene.apache.org by vesi posti <ve...@yahoo.com> on 2003/09/04 18:44:39 UTC

Mullti-term NOT queries

Hi,

According to the QueryParser page:

"The NOT operator cannot be used with just one term".

Is this also true for multi-term NOT queries? E.g.

NOT "jakarta apache" AND NOT "lucene"

My tests suggest so, but I'd like to hear from someone
who'd know for sure.

Also, is this a limitation of the QueryParser or of
the Query API itself?

Thanks!

Eugene.

__________________________________
Do you Yahoo!?
Yahoo! SiteBuilder - Free, easy-to-use web site design software
http://sitebuilder.yahoo.com