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

cli: index init --force not working #189

Open
carantunes opened this issue Nov 14, 2019 · 1 comment · May be fixed by #190
Open

cli: index init --force not working #189

carantunes opened this issue Nov 14, 2019 · 1 comment · May be fixed by #190

Comments

@carantunes
Copy link

carantunes commented Nov 14, 2019

--force is ignoring 400 errors from ES, previously this was working to add new indexes.

However now with ensure_not_exists it will first check the alias and not proceed if one mapping already exists, because ignore_existing is always set to False.

@ppanero
Copy link
Member

ppanero commented Nov 14, 2019

After some research we found out that the create function accepts a ignore_existing field. However, it is not passed from the CLI in here.

@ppanero ppanero linked a pull request Nov 14, 2019 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants