Class SubmitRequest
java.lang.Object
co.elastic.clients.elasticsearch._types.RequestBase
co.elastic.clients.elasticsearch.async_search.SubmitRequest
- All Implemented Interfaces:
ElasticsearchCommonRequest,JsonpSerializable
@JsonpDeserializable public final class SubmitRequest extends RequestBase implements JsonpSerializable
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classSubmitRequest.BuilderBuilder forSubmitRequest.Nested classes/interfaces inherited from class co.elastic.clients.elasticsearch._types.RequestBase
RequestBase.AbstractBuilder<BuilderT extends RequestBase.AbstractBuilder<BuilderT>> -
Field Summary
Fields Modifier and Type Field Description static JsonpDeserializer<SubmitRequest>_DESERIALIZERJson deserializer forSubmitRequest -
Constructor Summary
Constructors Constructor Description SubmitRequest(SubmitRequest.Builder builder)SubmitRequest(java.util.function.Function<SubmitRequest.Builder,SubmitRequest.Builder> fn) -
Method Summary
Modifier and Type Method Description java.util.Map<java.lang.String,Aggregation>aggs()API name:aggsjava.lang.BooleanallowNoIndices()API name:allow_no_indicesjava.lang.BooleanallowPartialSearchResults()API name:allow_partial_search_resultsjava.lang.Stringanalyzer()API name:analyzerjava.lang.BooleananalyzeWildcard()API name:analyze_wildcardjava.lang.LongbatchedReduceSize()The number of shard results that should be reduced at once on the coordinating node.FieldCollapsecollapse()API name:collapsestatic <TDocument>
Endpoint<SubmitRequest,SubmitResponse<TDocument>,ElasticsearchError>createSubmitEndpoint(JsonpDeserializer<TDocument> tDocumentDeserializer)Create an "async_search.submit" endpoint.DefaultOperatordefaultOperator()API name:default_operatorjava.lang.Stringdf()API name:dfjava.util.List<java.lang.String>docvalueFields()API name:docvalue_fieldsjava.util.List<ExpandWildcardOptions>expandWildcards()API name:expand_wildcardsjava.lang.Booleanexplain()API name:explainjava.util.List<jakarta.json.JsonValue>fields()API name:fieldsjava.lang.Integerfrom()API name:fromHighlighthighlight()API name:highlightjava.lang.BooleanignoreThrottled()API name:ignore_throttledjava.lang.BooleanignoreUnavailable()API name:ignore_unavailablejava.util.List<java.lang.String>index()A comma-separated list of index names to search; use_allor empty string to perform the operation on all indicesjava.util.List<java.util.Map<java.lang.String,java.lang.Double>>indicesBoost()API name:indices_boostjava.lang.StringkeepAlive()API name:keep_alivejava.lang.BooleankeepOnCompletion()Control whether the response should be stored in the cluster if it completed within the provided [wait_for_completion] time (default: false)java.lang.Booleanlenient()API name:lenientjava.lang.LongmaxConcurrentShardRequests()API name:max_concurrent_shard_requestsjava.lang.DoubleminScore()API name:min_scorePointInTimeReferencepit()API name:pitQuerypostFilter()API name:post_filterjava.lang.Stringpreference()API name:preferencejava.lang.Booleanprofile()API name:profileQueryquery()API name:queryjava.lang.BooleanrequestCache()API name:request_cachejava.util.List<Rescore>rescore()API name:rescorejava.lang.Stringrouting()API name:routingjava.util.Map<java.lang.String,RuntimeField>runtimeMappings()API name:runtime_mappingsjava.util.Map<java.lang.String,ScriptField>scriptFields()API name:script_fieldsjava.util.List<java.lang.String>searchAfter()API name:search_afterSearchTypesearchType()API name:search_typejava.lang.BooleansequenceNumberPrimaryTerm()API name:sequence_number_primary_termvoidserialize(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)Serialize this object to JSON.protected voidserializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)protected static voidsetupSubmitRequestDeserializer(DelegatingDeserializer<SubmitRequest.Builder> op)java.lang.Integersize()API name:sizejava.util.List<jakarta.json.JsonValue>sort()API name:sortjakarta.json.JsonValuesource()API name:_sourcejava.util.List<java.lang.String>stats()API name:statsjava.util.List<java.lang.String>storedFields()API name:stored_fieldsjava.util.Map<java.lang.String,Suggest>suggest()API name:suggestjava.lang.StringsuggestField()API name:suggest_fieldSuggestModesuggestMode()API name:suggest_modejava.lang.LongsuggestSize()API name:suggest_sizejava.lang.StringsuggestText()API name:suggest_textjava.lang.LongterminateAfter()API name:terminate_afterjava.lang.Stringtimeout()API name:timeoutjava.lang.BooleantrackScores()API name:track_scoresjava.lang.BooleantrackTotalHits()API name:track_total_hitsjava.lang.BooleantypedKeys()Specify whether aggregation and suggester names should be prefixed by their respective types in the responsejava.lang.Booleanversion()API name:versionjava.lang.StringwaitForCompletionTimeout()Specify the time that the request should block waiting for the final responseMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Field Details
-
_DESERIALIZER
Json deserializer forSubmitRequest
-
-
Constructor Details
-
SubmitRequest
-
SubmitRequest
-
-
Method Details
-
index
@Nullable public java.util.List<java.lang.String> index()A comma-separated list of index names to search; use_allor empty string to perform the operation on all indicesAPI name:
index -
batchedReduceSize
@Nullable public java.lang.Long batchedReduceSize()The number of shard results that should be reduced at once on the coordinating node. This value should be used as the granularity at which progress results will be made available.API name:
batched_reduce_size -
waitForCompletionTimeout
@Nullable public java.lang.String waitForCompletionTimeout()Specify the time that the request should block waiting for the final responseAPI name:
wait_for_completion_timeout -
keepOnCompletion
@Nullable public java.lang.Boolean keepOnCompletion()Control whether the response should be stored in the cluster if it completed within the provided [wait_for_completion] time (default: false)API name:
keep_on_completion -
typedKeys
@Nullable public java.lang.Boolean typedKeys()Specify whether aggregation and suggester names should be prefixed by their respective types in the responseAPI name:
typed_keys -
aggs
API name:aggs -
allowNoIndices
@Nullable public java.lang.Boolean allowNoIndices()API name:allow_no_indices -
allowPartialSearchResults
@Nullable public java.lang.Boolean allowPartialSearchResults()API name:allow_partial_search_results -
analyzer
@Nullable public java.lang.String analyzer()API name:analyzer -
analyzeWildcard
@Nullable public java.lang.Boolean analyzeWildcard()API name:analyze_wildcard -
collapse
API name:collapse -
defaultOperator
API name:default_operator -
df
@Nullable public java.lang.String df()API name:df -
docvalueFields
@Nullable public java.util.List<java.lang.String> docvalueFields()API name:docvalue_fields -
expandWildcards
API name:expand_wildcards -
explain
@Nullable public java.lang.Boolean explain()API name:explain -
from
@Nullable public java.lang.Integer from()API name:from -
highlight
API name:highlight -
ignoreThrottled
@Nullable public java.lang.Boolean ignoreThrottled()API name:ignore_throttled -
indicesBoost
@Nullable public java.util.List<java.util.Map<java.lang.String,java.lang.Double>> indicesBoost()API name:indices_boost -
keepAlive
@Nullable public java.lang.String keepAlive()API name:keep_alive -
lenient
@Nullable public java.lang.Boolean lenient()API name:lenient -
maxConcurrentShardRequests
@Nullable public java.lang.Long maxConcurrentShardRequests()API name:max_concurrent_shard_requests -
minScore
@Nullable public java.lang.Double minScore()API name:min_score -
postFilter
API name:post_filter -
preference
@Nullable public java.lang.String preference()API name:preference -
profile
@Nullable public java.lang.Boolean profile()API name:profile -
pit
API name:pit -
query
API name:query -
requestCache
@Nullable public java.lang.Boolean requestCache()API name:request_cache -
rescore
API name:rescore -
routing
@Nullable public java.lang.String routing()API name:routing -
scriptFields
API name:script_fields -
searchAfter
@Nullable public java.util.List<java.lang.String> searchAfter()API name:search_after -
searchType
API name:search_type -
sequenceNumberPrimaryTerm
@Nullable public java.lang.Boolean sequenceNumberPrimaryTerm()API name:sequence_number_primary_term -
size
@Nullable public java.lang.Integer size()API name:size -
sort
@Nullable public java.util.List<jakarta.json.JsonValue> sort()API name:sort -
source
@Nullable public jakarta.json.JsonValue source()API name:_source -
stats
@Nullable public java.util.List<java.lang.String> stats()API name:stats -
storedFields
@Nullable public java.util.List<java.lang.String> storedFields()API name:stored_fields -
suggest
API name:suggest -
suggestField
@Nullable public java.lang.String suggestField()API name:suggest_field -
suggestMode
API name:suggest_mode -
suggestSize
@Nullable public java.lang.Long suggestSize()API name:suggest_size -
suggestText
@Nullable public java.lang.String suggestText()API name:suggest_text -
terminateAfter
@Nullable public java.lang.Long terminateAfter()API name:terminate_after -
timeout
@Nullable public java.lang.String timeout()API name:timeout -
trackScores
@Nullable public java.lang.Boolean trackScores()API name:track_scores -
trackTotalHits
@Nullable public java.lang.Boolean trackTotalHits()API name:track_total_hits -
version
@Nullable public java.lang.Boolean version()API name:version -
fields
@Nullable public java.util.List<jakarta.json.JsonValue> fields()API name:fields -
runtimeMappings
API name:runtime_mappings -
serialize
Serialize this object to JSON.- Specified by:
serializein interfaceJsonpSerializable
-
serializeInternal
-
setupSubmitRequestDeserializer
protected static void setupSubmitRequestDeserializer(DelegatingDeserializer<SubmitRequest.Builder> op) -
createSubmitEndpoint
public static <TDocument> Endpoint<SubmitRequest,SubmitResponse<TDocument>,ElasticsearchError> createSubmitEndpoint(JsonpDeserializer<TDocument> tDocumentDeserializer)Create an "async_search.submit" endpoint.
-