Hum, strange.. I reindexed some docs with the field corrected. Now I'm sure the field is filled because:
"fieldX:(*a*)" returns docs. But "fieldX:[* TO *]" is returning the same as "*.*" (all results) I tried with "-fieldX:[* TO *]" and I get no results at all. I wonder if someone has tried this before with success? The field is indexed as string, indexed=true and stored=true. Thanks, Frederico -----Original Message----- From: Ahmet Arslan [mailto:iori...@yahoo.com] Sent: quarta-feira, 3 de Fevereiro de 2010 11:48 To: solr-user@lucene.apache.org Subject: Re: query all filled field? > Is it possible to query some field in order to get only not > empty > documents? > > > > All documents where field x is filled? Yes. q=x:[* TO *] will bring documents that has non-empty x field.