Преглед изворни кода

[DOCS] Fix old NodeSelector field in Low Level REST Client (#61551)

Manabu Matsuzaki пре 5 година
родитељ
комит
bf95503fd3
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1 1
      docs/java-rest/low-level/usage.asciidoc

+ 1 - 1
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