documentation-website
documentation-website copied to clipboard
[DOC] Java Client page is out of date and needs updating
What do you want to do?
- [ ] Request a change to existing documentation
- [ ] Add new documentation
- [x] Report a technical problem with the documentation
- [ ] Other
Tell us about your request.
The https://opensearch.org/docs/latest/clients/java/ page is out of date. There are a long list of things that need updating:
final ApacheHttpClient5TransportBuilder builder = ApacheHttpClient5TransportBuilder.builder(host);code doesn't exist.final HttpHost host = new HttpHost("https", "localhost", 9200);is specifying parameters in the wrong order- It's unclear why you would pick
RestClientversusApache HttpClient 5, guidence would be useful. - Sections below the two clients, it's unclear if they apply to both clients or not.
- We reference
implementation 'org.opensearch.client:opensearch-java:2.8.1'however we are up to2.16.0. - Java High Level Rest Client shows up higher in the navigation, even through it's not recommended.
Version: List the OpenSearch version to which this issue applies, e.g. 2.14, 2.12--2.14, or all. 2.16, but I think it's been there a while.
What other resources are available?
n/a
@epugh: Thanks for submitting this! Did you want to submit a PR updating the issues you see?