I think you will have to go the psuedo null/blank placeholder route.

--
Ian.
[EMAIL PROTECTED]


> [EMAIL PROTECTED] (aaz) wrote 
>
> Hi,
> We have a document with 2 Fields.
> 
> a) title = "X"
> b) fieldX = ""  
> 
> How can I do a search to only get documents where fieldX = "". When I construct a 
>TermQuery against FieldX with "" as the value I get no results. What is the best way 
>to do searches for such values or should we create some psuedo null/blank placeholder 
>to store in such fields with blank values?
> 
> thanks
> 
> 
----------------------------------------------------------------------
Searchable personal storage and archiving from http://www.digimem.net/

--
To unsubscribe, e-mail:   <mailto:lucene-user-unsubscribe@;jakarta.apache.org>
For additional commands, e-mail: <mailto:lucene-user-help@;jakarta.apache.org>

Reply via email to