diff --git a/docs/reference/migration/migrate_5_0/java.asciidoc b/docs/reference/migration/migrate_5_0/java.asciidoc index 1ad34d11a7c..00b33897f7d 100644 --- a/docs/reference/migration/migrate_5_0/java.asciidoc +++ b/docs/reference/migration/migrate_5_0/java.asciidoc @@ -300,12 +300,12 @@ requests can now be validated at call time which results in much clearer errors. The `setQuery(BytesReference)` method have been removed in favor of using `setQuery(QueryBuilder)` -=== ClusterStatsResponse +==== ClusterStatsResponse Removed the `getMemoryAvailable` method from `OsStats`, which could be previously accessed calling `clusterStatsResponse.getNodesStats().getOs().getMemoryAvailable()`. -=== setRefresh(boolean) has been removed +==== setRefresh(boolean) has been removed `setRefresh(boolean)` has been removed in favor of `setRefreshPolicy(RefreshPolicy)` because there are now three options (NONE, IMMEDIATE, and WAIT_FOR). `setRefresh(IMMEDIATE)` has the same behavior