How do I manage schema/mapping migrations/evolutions in Elasticsearch?

后端 未结 2 1941
小蘑菇
小蘑菇 2021-02-12 11:45

Flyway is a very convenient schema migration/evolution tool in the RDBMS world. I\'m looking for something similar for ES.

Even though ES is different from RDBMS and I g

2条回答
  •  梦如初夏
    2021-02-12 12:33

    For create-new-index-then-load-data-into-it-then-update-alias, what we do is:

    1. We use templates for the mapping
    2. And we use curator to create/update the index/alias automatically.

    Still the curator has to be run periodically, but we run it in a cron job.

提交回复
热议问题