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 class
SubmitRequest.Builder
Builder 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>
_DESERIALIZER
Json 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:aggs
java.lang.Boolean
allowNoIndices()
API name:allow_no_indices
java.lang.Boolean
allowPartialSearchResults()
API name:allow_partial_search_results
java.lang.String
analyzer()
API name:analyzer
java.lang.Boolean
analyzeWildcard()
API name:analyze_wildcard
java.lang.Long
batchedReduceSize()
The number of shard results that should be reduced at once on the coordinating node.FieldCollapse
collapse()
API name:collapse
static <TDocument>
Endpoint<SubmitRequest,SubmitResponse<TDocument>,ElasticsearchError>createSubmitEndpoint(JsonpDeserializer<TDocument> tDocumentDeserializer)
Create an "async_search.submit
" endpoint.DefaultOperator
defaultOperator()
API name:default_operator
java.lang.String
df()
API name:df
java.util.List<java.lang.String>
docvalueFields()
API name:docvalue_fields
java.util.List<ExpandWildcardOptions>
expandWildcards()
API name:expand_wildcards
java.lang.Boolean
explain()
API name:explain
java.util.List<jakarta.json.JsonValue>
fields()
API name:fields
java.lang.Integer
from()
API name:from
Highlight
highlight()
API name:highlight
java.lang.Boolean
ignoreThrottled()
API name:ignore_throttled
java.lang.Boolean
ignoreUnavailable()
API name:ignore_unavailable
java.util.List<java.lang.String>
index()
A comma-separated list of index names to search; use_all
or empty string to perform the operation on all indicesjava.util.List<java.util.Map<java.lang.String,java.lang.Double>>
indicesBoost()
API name:indices_boost
java.lang.String
keepAlive()
API name:keep_alive
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)java.lang.Boolean
lenient()
API name:lenient
java.lang.Long
maxConcurrentShardRequests()
API name:max_concurrent_shard_requests
java.lang.Double
minScore()
API name:min_score
PointInTimeReference
pit()
API name:pit
Query
postFilter()
API name:post_filter
java.lang.String
preference()
API name:preference
java.lang.Boolean
profile()
API name:profile
Query
query()
API name:query
java.lang.Boolean
requestCache()
API name:request_cache
java.util.List<Rescore>
rescore()
API name:rescore
java.lang.String
routing()
API name:routing
java.util.Map<java.lang.String,RuntimeField>
runtimeMappings()
API name:runtime_mappings
java.util.Map<java.lang.String,ScriptField>
scriptFields()
API name:script_fields
java.util.List<java.lang.String>
searchAfter()
API name:search_after
SearchType
searchType()
API name:search_type
java.lang.Boolean
sequenceNumberPrimaryTerm()
API name:sequence_number_primary_term
void
serialize(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)
Serialize this object to JSON.protected void
serializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)
protected static void
setupSubmitRequestDeserializer(DelegatingDeserializer<SubmitRequest.Builder> op)
java.lang.Integer
size()
API name:size
java.util.List<jakarta.json.JsonValue>
sort()
API name:sort
jakarta.json.JsonValue
source()
API name:_source
java.util.List<java.lang.String>
stats()
API name:stats
java.util.List<java.lang.String>
storedFields()
API name:stored_fields
java.util.Map<java.lang.String,Suggest>
suggest()
API name:suggest
java.lang.String
suggestField()
API name:suggest_field
SuggestMode
suggestMode()
API name:suggest_mode
java.lang.Long
suggestSize()
API name:suggest_size
java.lang.String
suggestText()
API name:suggest_text
java.lang.Long
terminateAfter()
API name:terminate_after
java.lang.String
timeout()
API name:timeout
java.lang.Boolean
trackScores()
API name:track_scores
java.lang.Boolean
trackTotalHits()
API name:track_total_hits
java.lang.Boolean
typedKeys()
Specify whether aggregation and suggester names should be prefixed by their respective types in the responsejava.lang.Boolean
version()
API name:version
java.lang.String
waitForCompletionTimeout()
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_all
or 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:
serialize
in 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.
-