2018-09-27 11:41:38 -04:00
|
|
|
[float]
|
2018-01-25 08:13:20 -05:00
|
|
|
[[breaking_70_java_changes]]
|
|
|
|
=== Java API changes
|
|
|
|
|
2019-04-08 21:54:29 -04:00
|
|
|
//NOTE: The notable-breaking-changes tagged regions are re-used in the
|
|
|
|
//Installation and Upgrade Guide
|
|
|
|
|
|
|
|
//tag::notable-breaking-changes[]
|
|
|
|
|
|
|
|
// end::notable-breaking-changes[]
|
|
|
|
|
2018-09-27 11:41:38 -04:00
|
|
|
[float]
|
2018-01-25 08:13:20 -05:00
|
|
|
==== `isShardsAcked` deprecated in `6.2` has been removed
|
|
|
|
|
|
|
|
`isShardsAcked` has been replaced by `isShardsAcknowledged` in
|
|
|
|
`CreateIndexResponse`, `RolloverResponse` and
|
2018-06-19 10:21:58 -04:00
|
|
|
`CreateIndexClusterStateUpdateResponse`.
|
|
|
|
|
2018-09-27 11:41:38 -04:00
|
|
|
[float]
|
2018-06-19 10:21:58 -04:00
|
|
|
==== `prepareExecute` removed from the client api
|
|
|
|
|
|
|
|
The `prepareExecute` method which created a request builder has been
|
|
|
|
removed from the client api. Instead, construct a builder for the
|
|
|
|
appropriate request directly.
|
2018-09-07 04:58:06 -04:00
|
|
|
|
2018-09-27 11:41:38 -04:00
|
|
|
[float]
|
2018-09-07 19:53:36 -04:00
|
|
|
==== Some Aggregation classes have moved packages
|
2018-09-07 04:58:06 -04:00
|
|
|
|
|
|
|
* All classes present in `org.elasticsearch.search.aggregations.metrics.*` packages
|
|
|
|
were moved to a single `org.elasticsearch.search.aggregations.metrics` package.
|
|
|
|
|
2018-10-23 16:01:01 -04:00
|
|
|
* All classes present in `org.elasticsearch.search.aggregations.pipeline.*` packages
|
|
|
|
were moved to a single `org.elasticsearch.search.aggregations.pipeline` package. In
|
|
|
|
addition, `org.elasticsearch.search.aggregations.pipeline.PipelineAggregationBuilders`
|
|
|
|
was moved to `org.elasticsearch.search.aggregations.PipelineAggregationBuilders`
|
|
|
|
|
|
|
|
|
2018-09-27 11:41:38 -04:00
|
|
|
[float]
|
2018-09-21 07:55:50 -04:00
|
|
|
==== `Retry.withBackoff` methods with `Settings` removed
|
|
|
|
|
|
|
|
The variants of `Retry.withBackoff` that included `Settings` have been removed
|
2018-12-03 13:22:42 -05:00
|
|
|
because `Settings` is no longer needed.
|
|
|
|
|
|
|
|
[float]
|
|
|
|
==== Deprecated method `Client#termVector` removed
|
|
|
|
|
|
|
|
The client method `termVector`, deprecated in 2.0, has been removed. The method
|
2019-01-17 03:10:09 -05:00
|
|
|
`termVectors` (plural) should be used instead.
|
|
|
|
|
|
|
|
[float]
|
|
|
|
==== Deprecated constructor `AbstractLifecycleComponent(Settings settings)` removed
|
|
|
|
|
|
|
|
The constructor `AbstractLifecycleComponent(Settings settings)`, deprecated in 6.7
|
|
|
|
has been removed. The parameterless constructor should be used instead.
|