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 ClassesNested classes/interfaces inherited from class co.elastic.clients.elasticsearch._types.RequestBase
RequestBase.AbstractBuilder<BuilderT extends RequestBase.AbstractBuilder<BuilderT>> -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Endpoint<ExistsSourceRequest,BooleanResponse, ErrorResponse> Endpoint "exists_source". -
Method Summary
Modifier and TypeMethodDescriptionfinal Stringid()Required - The document IDfinal Stringindex()Required - The name of the indexstatic ExistsSourceRequestfinal StringSpecify the node or shard the operation should be performed on (default: random)final Booleanrealtime()Specify whether to perform the operation in realtime or search modefinal Booleanrefresh()Refresh the shard containing the document before performing the operationfinal Stringrouting()Specific routing valuefinal SourceConfigParamsource()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 Stringtype()The type of the document; deprecated and optional starting with 7.0final Longversion()Explicit version number for concurrency controlfinal VersionTypeSpecific 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
-