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
In 2020, there seems to be an easier approach: The reindex API. You only need to do
POST _reindex
{
"source": {
"index": "my-index-000001"
},
"dest": {
"index": "my-new-index-000001"
}
}
and the data gets re-indexed.
I am new to Elasticsearch so don't hesitate to point out where I can improve :)
For create-new-index-then-load-data-into-it-then-update-alias
, what we do is:
Still the curator has to be run periodically, but we run it in a cron job.