_sourceoneOf
Set to `true` or `false` to return the `_source` field or not, or a list of fields to return.
_source_excludesoneOf
A comma-separated list of source fields to exclude in the response.
_source_includesoneOf
A comma-separated list of source fields to include in the response.
preferencestring
Specifies the node or shard the operation should be performed on. Random by default.
Default "random"
realtimeboolean
Boolean) If `true`, the request is real time as opposed to near real time.
refreshoneOf
If `true`, OpenSearch refreshes the affected shards to make this operation visible to search. If `false`, do nothing with refreshes.
routingoneOf
Target the specified primary shard.
versioninteger (int64)
Explicit version number for concurrency control. The specified version must match the current version of the document for the request to succeed.
version_typeoneOf
The specific version type. One of `internal`, `external`, `external_gte`.
prettyboolean
Whether to pretty-format the returned JSON response.
Default false
humanboolean
Whether to return human-readable values for statistics.
Default false
error_traceboolean
Whether to include the stack trace of returned errors.
Default false
sourcestring
The URL-encoded request definition. Useful for libraries that do not accept a request body for non-POST requests.
filter_pathoneOf
A comma-separated list of filters used to filter the response. Use wildcards to match any field or part of a field's name. To exclude fields, use `-`.