IMPORTANT: No additional bug fixes or documentation updates
will be released for this version. For the latest information, see the
current release documentation.
Method naming conventions
editMethod naming conventions
editClasses in the Java API Client contain two kinds of methods and properties:
-
Methods and properties that are part of the API, such as
ElasticsearchClient.search()
orSearchResponse.maxScore()
. They are derived from their respective names in the Elasticsearch JSON API using the standard JavacamelCaseNaming
convention. -
Methods and properties that are part of the framework on which the Java API
Client is built, such as
Query._kind()
. These methods and properties are prefixed with an underscore to both avoid any naming conflicts with API names, and as an easy way to distinguish the API from the framework.