Nick Atkins wrote:
Hi there,
How do I do a query for the value of a field not being equal to
something? For example, we all do Query("field:value") but I want to do
Query("NOT field:value") to essentially return all the documents that do
not have fields with this value? I've tried this but Luc
Nick,
FAQ entry:
http://wiki.apache.org/jakarta-lucene/LuceneFAQ#head-0cda565d913389773ca9c3246bde894c3e99084e
Otis
- Original Message
From: Nick Atkins <[EMAIL PROTECTED]>
To: java-user@lucene.apache.org
Sent: Wednesday, March 22, 2006 3:16:47 PM
Subject: Query for a non-val
Hi there,
How do I do a query for the value of a field not being equal to
something? For example, we all do Query("field:value") but I want to do
Query("NOT field:value") to essentially return all the documents that do
not have fields with this value? I've tried this but Lucene always
returns no