I'm in the middle of updating some mappings to an existing index and curious if there is a way to search to see if a specific field mapping exists?
For example, I update the mapping with the query below but now want to see which documents have name.lower field mapping after I update the index.:
PUT soure/_mapping/doc
{
"properties": {
"name": {
"type": "text",
"fields": {
"complete": {
"type": "completion",
"analyzer": "simple",
"preserve_separators": true,
"preserve_position_increments": true,
"max_input_length": 50
},
"not_analyzed": {
"type": "keyword"
},
"raw": {
"type": "text"
},
"lower": {
"type": "text",
"analyzer": "lowercase"
}
}
}
}
}