diff --git a/docs/java-rest/low-level/usage.asciidoc b/docs/java-rest/low-level/usage.asciidoc index ecbe868ff761f..68b91e06d6fa2 100644 --- a/docs/java-rest/low-level/usage.asciidoc +++ b/docs/java-rest/low-level/usage.asciidoc @@ -292,7 +292,7 @@ header because the client will automatically set that from the `HttpEntity` attached to the request. You can set the `NodeSelector` which controls which nodes will receive -requests. `NodeSelector.NOT_MASTER_ONLY` is a good choice. +requests. `NodeSelector.SKIP_DEDICATED_MASTERS` is a good choice. You can also customize the response consumer used to buffer the asynchronous responses. The default consumer will buffer up to 100MB of response on the