Update Request Processors to the rescue!
Example - Ignore input values for any undefined fields
Add to solrconfig:
Index content:
curl
"http://localhost:8983/solr/update?commit=true&update.chain=ignore-undefined";
\
-H 'Content-type:application/json' -d '
[{"id": "doc-1"
> -- Forwarded message --
> From: Igor Littig
> Date: 2013/5/30
> Subject: indexing only selected fields
> To: solr-user-...@lucene.apache.org
>
>
> Hello everyone.
>
> I'm quite new in Solr and need your advice... Does anybody know how to
> index not all fields in an uploading doc