Class ExistsSourceRequest
java.lang.Object
co.elastic.clients.elasticsearch._types.RequestBase
co.elastic.clients.elasticsearch.core.ExistsSourceRequest
Checks if a document's
_source
is stored.- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class co.elastic.clients.elasticsearch._types.RequestBase
RequestBase.AbstractBuilder<BuilderT extends RequestBase.AbstractBuilder<BuilderT>>
-
Field Summary
Modifier and TypeFieldDescriptionstatic final Endpoint<ExistsSourceRequest,
BooleanResponse, ErrorResponse> Endpoint "exists_source
". -
Method Summary
Modifier and TypeMethodDescriptionfinal String
id()
Required - Identifier of the document.final String
index()
Required - Comma-separated list of data streams, indices, and aliases.static ExistsSourceRequest
final String
Specifies the node or shard the operation should be performed on.final Boolean
realtime()
If true, the request is real-time as opposed to near-real-time.final Boolean
refresh()
Iftrue
, Elasticsearch refreshes all shards involved in the delete by query after the request completes.final String
routing()
Target the specified primary shard.final SourceConfigParam
source()
true
orfalse
to return the_source
field or not, or a list of fields to return.A comma-separated list of source fields to exclude in the response.A comma-separated list of source fields to include in the response.final Long
version()
Explicit version number for concurrency control.final VersionType
Specific version type:external
,external_gte
.Methods inherited from class co.elastic.clients.elasticsearch._types.RequestBase
toString
-
Field Details
-
_ENDPOINT
Endpoint "exists_source
".
-
-
Method Details
-
of
public static ExistsSourceRequest of(Function<ExistsSourceRequest.Builder, ObjectBuilder<ExistsSourceRequest>> fn) -
source
true
orfalse
to return the_source
field or not, or a list of fields to return.API name:
_source
-
sourceExcludes
A comma-separated list of source fields to exclude in the response.API name:
_source_excludes
-
sourceIncludes
A comma-separated list of source fields to include in the response.API name:
_source_includes
-
id
Required - Identifier of the document.API name:
id
-
index
Required - Comma-separated list of data streams, indices, and aliases. Supports wildcards (*
).API name:
index
-
preference
Specifies the node or shard the operation should be performed on. Random by default.API name:
preference
-
realtime
If true, the request is real-time as opposed to near-real-time.API name:
realtime
-
refresh
Iftrue
, Elasticsearch refreshes all shards involved in the delete by query after the request completes.API name:
refresh
-
routing
Target the specified primary shard.API name:
routing
-
version
Explicit version number for concurrency control. The specified version must match the current version of the document for the request to succeed.API name:
version
-
versionType
Specific version type:external
,external_gte
.API name:
version_type
-