浏览代码

[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