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
Roland

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.

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

R

Not directly, just search the docs for aliases though.

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

THX!!!