> How can I tell Solr to skip unwanted fields and only index
> the fields that I have declared in my schema.xml?
More precisely: (taken from schema.xml)
<!-- uncomment the following to ignore any fields that don't already match an
existing field name or dynamic field, rather than reporting them as an error.
alternately, change the type="ignored" to some other type e.g. "text" if you
want unknown fields indexed and/or stored by default -->
<!--dynamicField name="*" type="ignored" multiValued="true" /-->