: Is there a way to specify that a dynamic field cannot have an empty string? : With static fields, you can enforce this with 'required="true" : default="-1"'.
Uh... are you sure about that? required="true" just says there must be a value supplied, the empty string is still a value. (i just verified that an empty string is a legal value even if required="true") : Is there any way to do enforce this in the shipped Solr 1.2? One could : write a new custom analyzer that requires input. But is there anything : available out of the box? not that i can think of. -Hoss