Hello, Did you try q=-geodata:[* TO *] ? (Note the '-' (minus)) This reads as "documents without any value for field named geodata".
Also if you plan to use this intensively, you'd better declare a boolean field telling if geodata are set or not and set a value to each doc, because the -field_name:[* TO *] is an expansive query, especially on large data sets. Regards, -- Tanguy 2012/10/19 darul <daru...@gmail.com> > sorry, I mean this field called "geodata" in my schema > > <fieldType name="location" class="solr.LatLonType" > subFieldSuffix="_coordinate"/> > <field name="geodata" type="location" indexed="true" stored="true"/> > > > > -- > View this message in context: > http://lucene.472066.n3.nabble.com/Easy-question-docs-with-empty-geodata-field-tp4014751p4014752.html > Sent from the Solr - User mailing list archive at Nabble.com. >