elasticsearch-elixir icon indicating copy to clipboard operation
elasticsearch-elixir copied to clipboard

Make clean_starting_with -> num_to_keep configurable

Open silviurosu opened this issue 6 years ago • 1 comments

It is hardcoded to 2. This means that whenever I recreate the index I always have two copies of the index and automatically all the documents twice. This can lead to problems if we have a large dataset. Also many shared ES hosting solutions have limited number of indexes available. Can you make optional if we want to keep the old version also?

silviurosu avatar Feb 01 '19 13:02 silviurosu

Maybe we can add this number to config so we can set it per env?

silviurosu avatar Feb 19 '19 11:02 silviurosu