Defining mutiple types for match_mapping_type

Hi,

I want use multiple types for match_mapping_type when configuring a dynamic
template. I've tried to following options, but none worked:

"match_mapping_type" : ["string", "integer", "long", "float", "double",
"boolean"]

"match_mapping_type" : "string|integer|long|float|double|boolean"

I can always fallback to defining multiple templates, but it feels wrong.

Thanks,
Shahar

--
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 elasticsearch+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/59e82c3a-9cf6-4cd6-937a-b9ff9b5b992b%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

1 Like