From 1a86d6b906ddf68f367bcf5c2356bb8aac57b13d Mon Sep 17 00:00:00 2001 From: Manabu Matsuzaki Date: Mon, 31 Aug 2020 22:49:13 +0900 Subject: [PATCH] [DOCS] Fix old NodeSelector field in Low Level REST Client (#61551) --- docs/java-rest/low-level/usage.asciidoc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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