in scripts/generators/es_template.py [0:0]
def default_mapping_settings() -> Dict:
return {
"date_detection": False,
"dynamic_templates": [
{
"strings_as_keyword": {
"mapping": {
"ignore_above": 1024,
"type": "keyword"
},
"match_mapping_type": "string"
}
}
]
}