2017-02-24 07:52:36 -05:00
|
|
|
[[java-rest-low]]
|
2017-07-04 04:58:57 -04:00
|
|
|
= Java Low Level REST Client
|
|
|
|
|
|
|
|
[partintro]
|
|
|
|
--
|
2017-02-24 07:52:36 -05:00
|
|
|
|
|
|
|
The low-level client's features include:
|
|
|
|
|
|
|
|
* load balancing across all available nodes
|
|
|
|
|
|
|
|
* failover in case of node failures and upon specific response codes
|
|
|
|
|
|
|
|
* failed connection penalization (whether a failed node is retried depends on
|
|
|
|
how many consecutive times it failed; the more failed attempts the longer the
|
|
|
|
client will wait before trying that same node again)
|
|
|
|
|
|
|
|
* persistent connections
|
|
|
|
|
|
|
|
* trace logging of requests and responses
|
|
|
|
|
|
|
|
* optional automatic <<sniffer,discovery of cluster nodes>>
|
|
|
|
|
2017-07-26 06:17:21 -04:00
|
|
|
* packaged as a single JAR file that shades all dependencies
|
|
|
|
|
2017-07-04 04:58:57 -04:00
|
|
|
--
|
2017-02-24 07:52:36 -05:00
|
|
|
|
2017-07-06 04:05:50 -04:00
|
|
|
:doc-tests: {docdir}/../../client/rest/src/test/java/org/elasticsearch/client/documentation
|
2017-02-24 07:52:36 -05:00
|
|
|
include::usage.asciidoc[]
|
|
|
|
include::configuration.asciidoc[]
|
|
|
|
|
2017-07-06 04:05:50 -04:00
|
|
|
:doc-tests: {docdir}/../../client/sniffer/src/test/java/org/elasticsearch/client/sniff/documentation
|
2017-02-24 07:52:36 -05:00
|
|
|
include::sniffer.asciidoc[]
|
2017-07-04 04:58:57 -04:00
|
|
|
|
|
|
|
include::../license.asciidoc[]
|
2017-07-06 04:05:50 -04:00
|
|
|
|
|
|
|
:doc-tests!:
|