IMPORTANT: No additional bug fixes or documentation updates
will be released for this version. For the latest information, see the
current release documentation.
RequestOptions
edit
IMPORTANT: This documentation is no longer updated. Refer to Elastic's version policy and the latest documentation.
RequestOptions
editAll APIs in the RestHighLevelClient
accept a RequestOptions
which you can
use to customize the request in ways that won’t change how Elasticsearch
executes the request. For example, this is the place where you’d specify a
NodeSelector
to control which node receives the request. See the
low level client documentation for
more examples of customizing the options.
Was this helpful?
Thank you for your feedback.