Defining mutiple types for match_mapping_type

(Shahar Kedar) #1


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",

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

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


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
To view this discussion on the web visit
For more options, visit

(system) #2