I'm new to Elasticsearch and I was wondering if it's possible to delete a custom analyzer or a custom filter from an index.
For example, imagine the following index settings:
"settings" : {
"analysis": {
"filter":{
"filter_metaphone":{
"encoder": "metaphone",
"type": "phonetic",
"replace": "false"
},
"filter_unused":{
"type": "edgeNGram",
"max_gram": "10",
"min_gram": "1"
}
},
"analyzer":{
"name":{
"type": "custom",
"filter": ["filter_metaphone"],
"tokenizer": "standard"
}
}
}
}
Is there any way to delete the filter "filter_unused" via curl
without removing and creating the index with a new settings configuration?