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

rebuild option deletes the entire index. Either remove or modify the behavior #33

Open
mrpatrickwest opened this issue Nov 9, 2015 · 5 comments

Comments

@mrpatrickwest
Copy link
Contributor

I say that if we want to delete the index that we delete it from the command line instead of one of the ingest scripts. Currently if you use the --rebuild option to the ingest scripts it deletes the entire index and not just the type information (mapping and documents)

@mrpatrickwest
Copy link
Contributor Author

@zednis what do you think?

@zednis
Copy link
Contributor

zednis commented Nov 11, 2015

I think we should update the script if needed. Ideally when the scripts are fully developed we won't have to use the command line for common tasks.

@zednis
Copy link
Contributor

zednis commented Nov 11, 2015

When you say it deletes the entire index, do you mean /dco or /dco/type?

@mrpatrickwest
Copy link
Contributor Author

Well, seemed like when I tried to delete /dco/type that it deleted all of /dco. But my tests on localhost seem to show otherwise. So changing the scripts to just delete /dco/type should do the trick. Perhaps I had a typo in my first attempt.

On Nov 11, 2015, at 10:07 AM, Stephan Zednik [email protected] wrote:

When you say it deletes the entire index, do you mean /dco or /dco/type?


Reply to this email directly or view it on GitHub #33 (comment).

@zednis
Copy link
Contributor

zednis commented Dec 6, 2015

Is this still a confirmed bug?

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