如何更改Elasticsearch中的现有分析器?

时间:2015-08-29 16:28:29

标签: elasticsearch

现在是现有的分析仪: "analyzer": { "xmap_analyzer": { "type": "custom", "char_filter": [ "html_strip"], "filter": [ "lowercase"], "tokenizer": "standard" } }

我想删除“过滤器”,它将是这样的: "analyzer": { "xmap_analyzer": { "type": "custom", "char_filter": [ "html_strip"], "tokenizer": "standard" } }

我尝试更新设置,如下所示: https://www.elastic.co/guide/en/elasticsearch/reference/current/indices-update-settings.html#update-settings-analysis

但它无效,我该怎么办?

0 个答案:

没有答案