Re: field:(-null) returns records where field was not specified

2008-01-15 Thread Karen Loughran
Thanks Chris, this is useful, we can you the query format you suggest, Karen On Tuesday 15 January 2008 01:13:14 Chris Hostetter wrote: Several things in this thread should be clarified (note: order of quotations munged for clarity)... : I had read this page. But I'm not using the NOT

Re: field:(-null) returns records where field was not specified

2008-01-14 Thread Erick Erickson
Have you seen this page? http://lucene.apache.org/java/docs/queryparsersyntax.html From that page: Note: The NOT operator cannot be used with just one term. For example, the following search will return no results: NOT jakarta apache Erick On Jan 14, 2008 9:30 AM, Karen Loughran [EMAIL

Re: field:(-null) returns records where field was not specified

2008-01-14 Thread Karen Loughran
Hi Erik, thanks for your reply, I had read this page. But I'm not using the NOT operator, I'm using the - operator. I'm assuming there is a subtle difference between them in that NOT qualifies something else, hence needs 2 terms. Isn't the - operator supposed to be a complement to the +

RE: field:(-null) returns records where field was not specified

2008-01-14 Thread Chris Hostetter
Several things in this thread should be clarified (note: order of quotations munged for clarity)... : I had read this page. But I'm not using the NOT operator, I'm using the : - operator. I'm assuming there is a subtle difference between them in : that NOT qualifies something else, hence