Class ExistsSourceRequest
java.lang.Object
co.elastic.clients.elasticsearch._types.RequestBase
co.elastic.clients.elasticsearch.core.ExistsSourceRequest
Returns information about whether a document source exists in an index.
- 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 - The document IDfinal String
index()
Required - The name of the indexstatic ExistsSourceRequest
final String
Specify the node or shard the operation should be performed on (default: random)final Boolean
realtime()
Specify whether to perform the operation in realtime or search modefinal Boolean
refresh()
Refresh the shard containing the document before performing the operationfinal String
routing()
Specific routing valuefinal SourceConfigParam
source()
True or false to return the _source field or not, or a list of fields to returnA list of fields to exclude from the returned _source fieldA list of fields to extract and return from the _source fieldfinal String
type()
The type of the document; deprecated and optional starting with 7.0final Long
version()
Explicit version number for concurrency controlfinal VersionType
Specific version typeMethods 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 or false to return the _source field or not, or a list of fields to returnAPI name:
_source
-
sourceExcludes
A list of fields to exclude from the returned _source fieldAPI name:
_source_excludes
-
sourceIncludes
A list of fields to extract and return from the _source fieldAPI name:
_source_includes
-
id
Required - The document IDAPI name:
id
-
index
Required - The name of the indexAPI name:
index
-
preference
Specify the node or shard the operation should be performed on (default: random)API name:
preference
-
realtime
Specify whether to perform the operation in realtime or search modeAPI name:
realtime
-
refresh
Refresh the shard containing the document before performing the operationAPI name:
refresh
-
routing
Specific routing valueAPI name:
routing
-
type
The type of the document; deprecated and optional starting with 7.0API name:
type
-
version
Explicit version number for concurrency controlAPI name:
version
-
versionType
Specific version typeAPI name:
version_type
-