I am using static mapping definitions (i.e. "dynamic" = "false") in
order to have field level control over what fields go into the index.
Reason is that I get rather large documents from the client side and
only need to index a small subset of fields. I now need to support
custom, dynamic fields (marked by a special field name prefix) added
by the client. My plan was to use the dynamic templates feature to
describe the names of dynamic fields and their mapping.
It seems that this approach does not work as dynamic templates only
seem to be applied for dynamic mappings. Is this true? If yes, how can
I limit the dynamic mapping capability to a subset of my fields?