That's correct. If u want to find "Missing Values" ie fields for whom value is not present then u will use -
Ankit -----Original Message----- From: Ahmet Arslan [mailto:iori...@yahoo.com] Sent: Thursday, February 04, 2010 9:41 AM To: solr-user@lucene.apache.org Subject: RE: query all filled field? > *:* AND -fieldX:[* TO *] - returns 0 docs > > fieldX:(a*) - return docs, so I'm sure that there's docs > with this field filled. > > Any other ideias what could be wrong? There is not wrong in this scenario. If -fieldX:[* TO *] returns 0 docs, it means that all of your documents have that fieldX filled. Therefore fieldX:[* TO *] returns all of your dataset same as *:*