Yes, you can read more about index templates here:

http://www.elasticsearch.org/guide/en/elasticsearch/reference/current/indices-templates.html

You can use a name pattern to match what indexes to apply the template to. 
You can also define dynamic templates:

http://www.elasticsearch.org/guide/en/elasticsearch/reference/current/mapping-root-object-type.html#_dynamic_templates

To match field names, or types. I don't think you can do something like 
match only if the value is 2 digits.

-- 
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/e099f321-fd02-4509-9375-6aa2a378e23a%40googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to