-
Notifications
You must be signed in to change notification settings - Fork 191
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
index lifecycle guide added #457
Conversation
Please fix DCO to start @govegito ( |
@dblock DCO done ✅ |
@govegito let us know if you need any help? All the commits need to have DCO. One way to fix it is this:
|
Signed-off-by: govegito <[email protected]>
97421de
to
cb89f27
Compare
This code example uses basic credentials that come with the default OpenSearch configuration.If you’re using the Java client with your own OpenSearch cluster, be sure to change the code so that it uses your own credentials. | ||
|
||
```java | ||
final CredentialsProvider credentialsProvider = new BasicCredentialsProvider(); |
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.
@govegito this snippet it not valid for main
branch since it should be using Apache HttpClient 5 APIs, I think the best option is to retarget the pull request to 2.x
branch and than have another pull request for main.
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.
Understood, retargeting it to 2.x branch.
@@ -0,0 +1,152 @@ | |||
# Index Lifecycle | |||
This guide covers OpenSearch Java Client API actions for Index Lifecycle. You'll learn how to create, read, update, and delete indices in your OpenSearch cluster. We will also leverage index templates to create default settings and mappings for indices of certain patterns. |
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.
This guide covers OpenSearch Java Client API actions for Index Lifecycle. You'll learn how to create, read, update, and delete indices in your OpenSearch cluster. We will also leverage index templates to create default settings and mappings for indices of certain patterns. | |
This guide covers OpenSearch Java Client API actions for Index Lifecycle. You'll learn how to create, update, and delete indices in your OpenSearch cluster as well as got to index, search and delete the data within the index. |
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.
There is no index template in the guide.
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.
@govegito Want to finish this? |
These samples are added to USER_GUIDE when the documentation was updated. Closing this PR. Thanks @govegito! |
Description
Index life cycle guide created
Issues Resolved
Guide] Index Lifecycle #428
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.