Re: Use of "+" and "-" in queries

2004-09-07 Thread Otis Gospodnetic
Hi Bill, No difference, it's just that Lucene's query syntax recognizes both 'NOT' and '-' and uses them the same way - to exclude certain documents from sesrch results. Otis --- Bill Tschumy <[EMAIL PROTECTED]> wrote: > I don't understand the difference in using + and - in queries > compared

Use of "+" and "-" in queries

2004-09-07 Thread Bill Tschumy
I don't understand the difference in using + and - in queries compared to using AND and NOT. Even the Query Syntax document seems a bit confused. In the section on the NOT operator it says: > To search for documents that contain "jakarta apache" but not "jakarta lucene" use the query: > > "