java.asciidoc 910 B

1234567891011121314151617181920212223242526272829
  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. [float]
  19. ==== `Retry.withBackoff` methods with `Settings` removed
  20. The variants of `Retry.withBackoff` that included `Settings` have been removed
  21. because `Settings` is no longer needed.