Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make clean_starting_with -> num_to_keep configurable #63

Open
silviurosu opened this issue Feb 1, 2019 · 1 comment
Open

Make clean_starting_with -> num_to_keep configurable #63

silviurosu opened this issue Feb 1, 2019 · 1 comment

Comments

@silviurosu
Copy link

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 silviurosu changed the title Make clean_starting_with num_to_keep configurable Make clean_starting_with -> num_to_keep configurable Feb 18, 2019
@silviurosu
Copy link
Author

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants