简体   繁体   中英

AWS Elasticsearch: How to update analyzer settings for existing index

I'm trying to update settings for existing index with custom analyzer, but it is not allowing for open index, and aws is not allowing me to close the index.

Any thoughts?

AWS Elasticsearch only supports a subset of operations and indeed _close is not supported. You can get the list of supported operation here .

Since you are updating an analyzer you will probably have to reindex your documents, so you can create a new index with the correct mapping and use _reindex endpoint to copy the documents.

If you are not already doing it, I would advise you to use index alias to handle the index migration.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM