You can use dynamic templates in your mappings (examples shown on the link below):
http://www.elasticsearch.org/guide/en/elasticsearch/reference/current/mapping-root-object-type.html#_dynamic_templates -- You received this message because you are subscribed to the Google Groups "elasticsearch" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/d2f2fa1d-429d-4bca-828f-0204a1e6b5f9%40googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
