Theoretically yes,it's correct, but i have about 1/10 of the docs with this field not empty and the rest is empty.
Most of the articles have the field empty as I can see when query *:*. So the queries don't make sense... -----Original Message----- From: Ankit Bhatnagar [mailto:abhatna...@vantage.com] Sent: quinta-feira, 4 de Fevereiro de 2010 14:56 To: 'solr-user@lucene.apache.org' Subject: RE: query all filled field? 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 *:*