: > field:"value" OR (*:* AND NOT field:[* TO *])

: Instead of field:[* TO *], you can define a default value in schema.xml. 
: Or DefaultValueUpdateProcessorFactory in solrconfig.

right -- the most efficient way to query for this kind of "has value in 
fieldX" or "does not have a value in fieldX" is to index that specific 
piece of information in an easily querable way.

either using a default value, or with a new boolean field "has_fieldX" 
that you can then query on


-Hoss

Reply via email to