Skip to content
Snippets Groups Projects
Commit fdcd4dc6 authored by Francé Wilke's avatar Francé Wilke
Browse files

Add Opensearch field type for flattened mapping

parent 55de7da4
No related branches found
No related tags found
No related merge requests found
......@@ -194,6 +194,8 @@ func structMappingProperties(structType reflect.Type) (map[string]MappingPropert
case "object":
fieldMapping.Type = "object"
fieldMapping.Enabled = false
case "flattened":
fieldMapping.Type = "flat_object"
case "-":
// do not include in mapping
skip = true
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment