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
  • Field Details

  • Constructor Details

  • 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 indices

      API 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 response

      API 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 response

      API name: typed_keys

    • aggs

      @Nullable public java.util.Map<java.lang.String,​Aggregation> 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

      @Nullable public FieldCollapse collapse()
      API name: collapse
    • defaultOperator

      @Nullable public DefaultOperator 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

      @Nullable public java.util.List<ExpandWildcardOptions> 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

      @Nullable public Highlight highlight()
      API name: highlight
    • ignoreThrottled

      @Nullable public java.lang.Boolean ignoreThrottled()
      API name: ignore_throttled
    • ignoreUnavailable

      @Nullable public java.lang.Boolean ignoreUnavailable()
      API name: ignore_unavailable
    • 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

      @Nullable public Query 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

      @Nullable public PointInTimeReference pit()
      API name: pit
    • query

      @Nullable public Query query()
      API name: query
    • requestCache

      @Nullable public java.lang.Boolean requestCache()
      API name: request_cache
    • rescore

      @Nullable public java.util.List<Rescore> rescore()
      API name: rescore
    • routing

      @Nullable public java.lang.String routing()
      API name: routing
    • scriptFields

      @Nullable public java.util.Map<java.lang.String,​ScriptField> scriptFields()
      API name: script_fields
    • searchAfter

      @Nullable public java.util.List<java.lang.String> searchAfter()
      API name: search_after
    • searchType

      @Nullable public SearchType 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

      @Nullable public java.util.Map<java.lang.String,​Suggest> suggest()
      API name: suggest
    • suggestField

      @Nullable public java.lang.String suggestField()
      API name: suggest_field
    • suggestMode

      @Nullable public SuggestMode 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

      @Nullable public java.util.Map<java.lang.String,​RuntimeField> runtimeMappings()
      API name: runtime_mappings
    • serialize

      public void serialize​(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)
      Serialize this object to JSON.
      Specified by:
      serialize in interface JsonpSerializable
    • serializeInternal

      protected void serializeInternal​(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)
    • 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.