Skip to content

Improve Java API documentation with more detail and best practice examples #24604

@geekpete

Description

@geekpete

Elasticsearch version: 5.x

There are a few different tickets that have been created for what I see as a single bug in lack of minimum detail/examples in our documentation for the Java API.

This ticket is to provide a place to collate this effort since creating the minimum level of documentation probably shouldn't be done in a piecemeal or adhoc way as people encounter individual issues with it.

Related tickets in the Elastic repo:

There's also the valuable discussion in our Elastic Cloud X-Pack Transport Example repo that has a specific example of using HostFailureListener to deal with dns/ip changes for Elasticsearch endpoints that needs to be well documented with a code example as best practice in docs for Java API client usage:

So we need to determine some minimum level of documentation requirement then fulfil such a requirement by improving the documentation.

The documentation could then be turned into a solid example in the Elastic Cloud X-Pack Transport Example repo as a reference.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions