parent
f0252f34e9
commit
36a6211523
|
@ -32,6 +32,13 @@ Settings settings = Settings.settingsBuilder()
|
||||||
Client client = TransportClient.builder().settings(settings).build();
|
Client client = TransportClient.builder().settings(settings).build();
|
||||||
--------------------------------------------------
|
--------------------------------------------------
|
||||||
|
|
||||||
|
==== Exception are only thrown on total failure
|
||||||
|
|
||||||
|
Previously, many APIs would throw an exception if any shard failed to execute
|
||||||
|
the request. Now the exception is only thrown if all shards fail the request.
|
||||||
|
The responses for these APIs will always have a `getShardFailures` method that
|
||||||
|
you can and should check for failures.
|
||||||
|
|
||||||
==== Automatically thread client listeners
|
==== Automatically thread client listeners
|
||||||
|
|
||||||
Previously, the user had to set request listener threads to `true` when on the
|
Previously, the user had to set request listener threads to `true` when on the
|
||||||
|
@ -121,4 +128,3 @@ You might need to change your imports to the original package names:
|
||||||
* `com.tdunning.math.stats` was `org.elasticsearch.common.stats`
|
* `com.tdunning.math.stats` was `org.elasticsearch.common.stats`
|
||||||
* `org.apache.commons.lang` was `org.elasticsearch.common.lang`
|
* `org.apache.commons.lang` was `org.elasticsearch.common.lang`
|
||||||
* `org.apache.commons.cli` was `org.elasticsearch.common.cli.commons`
|
* `org.apache.commons.cli` was `org.elasticsearch.common.cli.commons`
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue