Elasticsearch remove user analyzer / filter

I am new to elasticity, and I was wondering if it is possible to remove a custom analyzer or a custom filter from the index.

For example, imagine the following index options:

"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 a way to remove the filter_unused filter through curl without deleting and create an index with a new settings preference?

+8
filter elasticsearch analyzer
source share
1 answer

No, there is no way to remove one specific analyzer from the index settings at this time.

However, you could add new analyzers. This API is described here.

http://www.elasticsearch.org/guide/en/elasticsearch/reference/current/indices-update-settings.html#indices-update-settings

+1
source share

All Articles