> is there any way I can search for Documents that have a
> specific Field not set?

Yes. If you are using QueryParser  *:* -specificField:[* TO *]
 
> I was hoping that a simple TermQuery where the term value
> was set to be an empty String would help me out but I was prooven
> wrong.

org.apache.lucene.search.MatchAllDocsQuery combined with RangeQuery can do that 
if you are constructing your queries programmatically.


      

---------------------------------------------------------------------
To unsubscribe, e-mail: java-user-unsubscr...@lucene.apache.org
For additional commands, e-mail: java-user-h...@lucene.apache.org

Reply via email to