Index versioning

Hi is there a way to give the full index a version number? I have a full import that delete and create all data. Now i want to do a rollback and want to store the last 5 imports.

See you

Just create different indices with names that include a version number.

Follow Mark's advice and store them as separate indices. You can use an alias to quickly switch version.

1 Like

Is there any example somewhere for inspiration? Thx for support so far


Not directly, just search the docs for aliases though.

You can have a look at the section about aliases in Elasticsearch: the definitive guide.


This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.