lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dan Armbrust <daniel.armbrust.l...@gmail.com>
Subject Search for documents where field does not exist?
Date Fri, 17 Jun 2005 19:28:07 GMT
I'm pretty sure the answer is no.. but I'll check with the guru's anyway...

In my collection of documents, I have a non-tokenized field that only 
occurs 0 or 1 time per document.

It is possible to create a query so that a documents would be returned if

(field == "some value" OR field does not exist)

documents would not be returned if
(field == "some other value")


Thanks,

Dan

---------------------------------------------------------------------
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