
uwe at thetaphi
Feb 11, 2010, 8:32 AM
Post #2 of 2
(533 views)
Permalink
|
Hi Chris, its only possible with TermRangeQuery/NumericRangeQuery (depending on data type, corresponding filters can also be used) with both ends null. E.g., Solr does it that way. ----- Uwe Schindler H.-H.-Meier-Allee 63, D-28213 Bremen http://www.thetaphi.de eMail: uwe [at] thetaphi > -----Original Message----- > From: mored [mailto:mored [at] gmx] > Sent: Thursday, February 11, 2010 5:29 PM > To: java-user [at] lucene > Subject: Retrieve fields that are not empty > > > Hello, > > is there a way query syntax fo rretrieving fields which have a value? > Something like myfield:NOT EMPTY. I searched the lucene docu, but > didn´t > found anything for this issue. > > Thanks in advance. > > chris > -- > View this message in context: http://old.nabble.com/Retrieve-fields- > that-are-not-empty-tp27550134p27550134.html > Sent from the Lucene - Java Users mailing list archive at Nabble.com. > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: java-user-unsubscribe [at] lucene > For additional commands, e-mail: java-user-help [at] lucene --------------------------------------------------------------------- To unsubscribe, e-mail: java-user-unsubscribe [at] lucene For additional commands, e-mail: java-user-help [at] lucene
|