java.asciidoc 1.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. [float]
  2. [[breaking_70_java_changes]]
  3. === Java API changes
  4. [float]
  5. ==== `isShardsAcked` deprecated in `6.2` has been removed
  6. `isShardsAcked` has been replaced by `isShardsAcknowledged` in
  7. `CreateIndexResponse`, `RolloverResponse` and
  8. `CreateIndexClusterStateUpdateResponse`.
  9. [float]
  10. ==== `prepareExecute` removed from the client api
  11. The `prepareExecute` method which created a request builder has been
  12. removed from the client api. Instead, construct a builder for the
  13. appropriate request directly.
  14. [float]
  15. ==== Some Aggregation classes have moved packages
  16. * All classes present in `org.elasticsearch.search.aggregations.metrics.*` packages
  17. were moved to a single `org.elasticsearch.search.aggregations.metrics` package.
  18. * All classes present in `org.elasticsearch.search.aggregations.pipeline.*` packages
  19. were moved to a single `org.elasticsearch.search.aggregations.pipeline` package. In
  20. addition, `org.elasticsearch.search.aggregations.pipeline.PipelineAggregationBuilders`
  21. was moved to `org.elasticsearch.search.aggregations.PipelineAggregationBuilders`
  22. [float]
  23. ==== `Retry.withBackoff` methods with `Settings` removed
  24. The variants of `Retry.withBackoff` that included `Settings` have been removed
  25. because `Settings` is no longer needed.
  26. [float]
  27. ==== Deprecated method `Client#termVector` removed
  28. The client method `termVector`, deprecated in 2.0, has been removed. The method
  29. `termVectors` (plural) should be used instead.