Index versioning


(Roland Golla) #1

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


(Mark Walkom) #2

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


(Christian Dahlqvist) #3

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


(Roland Golla) #4

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

R


(Mark Walkom) #5

Not directly, just search the docs for aliases though.


(Christian Dahlqvist) #6

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


(Roland Golla) #7

THX!!!


(system) #8

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