-
Notifications
You must be signed in to change notification settings - Fork 107
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
Updates USER_GUIDE.md and /_samples/ #518
Conversation
Signed-off-by: Matt Stephenson <mstephenson6@users.noreply.github.com>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks!
I believe this matches what we have in https://github.com/opensearch-project/opensearch-go/tree/main/_samples, so that should be updated as well, and made sure to run. Rebase please, too.
Signed-off-by: Matt Stephenson <mstephenson6@users.noreply.github.com>
@dblock - Yeah, I think the files in |
- Clean up misc build errors and statticcheck warnings - Index() call forces refresh, so the next search hit is reliable with 2 nodes - Restore and clean up the document delete step - Add some print statements about the search and delete steps Signed-off-by: Matt Stephenson <mstephenson6@users.noreply.github.com>
Signed-off-by: Matt Stephenson <mstephenson6@users.noreply.github.com>
Signed-off-by: Matt Stephenson <mstephenson6@users.noreply.github.com>
Signed-off-by: Matt Stephenson <mstephenson6@users.noreply.github.com>
Signed-off-by: Matt Stephenson <mstephenson6@users.noreply.github.com>
@dblock - this is cleaned up and ready for review. Thanks for pointing out the other samples. I updated all of them to work with the default strong password in v2.13, and the error-handling code in USER_GUIDE.md now uses |
TY! |
Description
Cleans up example code so it runs and shows a complete cycle of index creation, document indexing, searching, document deletion, and index deletion.
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.