Interface SearchRequestBodyOrBuilder

All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
All Known Implementing Classes:
SearchRequestBody, SearchRequestBody.Builder

public interface SearchRequestBodyOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Details

    • hasCollapse

      boolean hasCollapse()
      optional .org.opensearch.protobufs.FieldCollapse collapse = 2 [json_name = "collapse"];
      Returns:
      Whether the collapse field is set.
    • getCollapse

      FieldCollapse getCollapse()
      optional .org.opensearch.protobufs.FieldCollapse collapse = 2 [json_name = "collapse"];
      Returns:
      The collapse.
    • getCollapseOrBuilder

      FieldCollapseOrBuilder getCollapseOrBuilder()
      optional .org.opensearch.protobufs.FieldCollapse collapse = 2 [json_name = "collapse"];
    • hasExplain

      boolean hasExplain()
      optional bool explain = 3 [json_name = "explain"];
      Returns:
      Whether the explain field is set.
    • getExplain

      boolean getExplain()
      optional bool explain = 3 [json_name = "explain"];
      Returns:
      The explain.
    • hasExt

      boolean hasExt()
      optional .org.opensearch.protobufs.ObjectMap ext = 4 [json_name = "ext"];
      Returns:
      Whether the ext field is set.
    • getExt

      ObjectMap getExt()
      optional .org.opensearch.protobufs.ObjectMap ext = 4 [json_name = "ext"];
      Returns:
      The ext.
    • getExtOrBuilder

      ObjectMapOrBuilder getExtOrBuilder()
      optional .org.opensearch.protobufs.ObjectMap ext = 4 [json_name = "ext"];
    • hasFrom

      boolean hasFrom()
      optional int32 from = 5 [json_name = "from"];
      Returns:
      Whether the from field is set.
    • getFrom

      int getFrom()
      optional int32 from = 5 [json_name = "from"];
      Returns:
      The from.
    • hasHighlight

      boolean hasHighlight()
      optional .org.opensearch.protobufs.Highlight highlight = 6 [json_name = "highlight"];
      Returns:
      Whether the highlight field is set.
    • getHighlight

      Highlight getHighlight()
      optional .org.opensearch.protobufs.Highlight highlight = 6 [json_name = "highlight"];
      Returns:
      The highlight.
    • getHighlightOrBuilder

      HighlightOrBuilder getHighlightOrBuilder()
      optional .org.opensearch.protobufs.Highlight highlight = 6 [json_name = "highlight"];
    • hasTrackTotalHits

      boolean hasTrackTotalHits()
      optional .org.opensearch.protobufs.TrackHits track_total_hits = 7 [json_name = "trackTotalHits"];
      Returns:
      Whether the trackTotalHits field is set.
    • getTrackTotalHits

      TrackHits getTrackTotalHits()
      optional .org.opensearch.protobufs.TrackHits track_total_hits = 7 [json_name = "trackTotalHits"];
      Returns:
      The trackTotalHits.
    • getTrackTotalHitsOrBuilder

      TrackHitsOrBuilder getTrackTotalHitsOrBuilder()
      optional .org.opensearch.protobufs.TrackHits track_total_hits = 7 [json_name = "trackTotalHits"];
    • getIndicesBoostCount

      @Deprecated int getIndicesBoostCount()
      Deprecated.
      map<string, float> indices_boost = 8 [json_name = "indicesBoost", deprecated = true];
    • containsIndicesBoost

      @Deprecated boolean containsIndicesBoost(String key)
      Deprecated.
      map<string, float> indices_boost = 8 [json_name = "indicesBoost", deprecated = true];
    • getIndicesBoost

      @Deprecated Map<String,Float> getIndicesBoost()
      Deprecated.
    • getIndicesBoostMap

      @Deprecated Map<String,Float> getIndicesBoostMap()
      Deprecated.
      map<string, float> indices_boost = 8 [json_name = "indicesBoost", deprecated = true];
    • getIndicesBoostOrDefault

      @Deprecated float getIndicesBoostOrDefault(String key, float defaultValue)
      Deprecated.
      map<string, float> indices_boost = 8 [json_name = "indicesBoost", deprecated = true];
    • getIndicesBoostOrThrow

      @Deprecated float getIndicesBoostOrThrow(String key)
      Deprecated.
      map<string, float> indices_boost = 8 [json_name = "indicesBoost", deprecated = true];
    • getDocvalueFieldsList

      List<FieldAndFormat> getDocvalueFieldsList()
      repeated .org.opensearch.protobufs.FieldAndFormat docvalue_fields = 9 [json_name = "docvalueFields"];
    • getDocvalueFields

      FieldAndFormat getDocvalueFields(int index)
      repeated .org.opensearch.protobufs.FieldAndFormat docvalue_fields = 9 [json_name = "docvalueFields"];
    • getDocvalueFieldsCount

      int getDocvalueFieldsCount()
      repeated .org.opensearch.protobufs.FieldAndFormat docvalue_fields = 9 [json_name = "docvalueFields"];
    • getDocvalueFieldsOrBuilderList

      List<? extends FieldAndFormatOrBuilder> getDocvalueFieldsOrBuilderList()
      repeated .org.opensearch.protobufs.FieldAndFormat docvalue_fields = 9 [json_name = "docvalueFields"];
    • getDocvalueFieldsOrBuilder

      FieldAndFormatOrBuilder getDocvalueFieldsOrBuilder(int index)
      repeated .org.opensearch.protobufs.FieldAndFormat docvalue_fields = 9 [json_name = "docvalueFields"];
    • hasMinScore

      boolean hasMinScore()
      optional float min_score = 11 [json_name = "minScore"];
      Returns:
      Whether the minScore field is set.
    • getMinScore

      float getMinScore()
      optional float min_score = 11 [json_name = "minScore"];
      Returns:
      The minScore.
    • hasPostFilter

      boolean hasPostFilter()
      optional .org.opensearch.protobufs.QueryContainer post_filter = 12 [json_name = "postFilter"];
      Returns:
      Whether the postFilter field is set.
    • getPostFilter

      QueryContainer getPostFilter()
      optional .org.opensearch.protobufs.QueryContainer post_filter = 12 [json_name = "postFilter"];
      Returns:
      The postFilter.
    • getPostFilterOrBuilder

      QueryContainerOrBuilder getPostFilterOrBuilder()
      optional .org.opensearch.protobufs.QueryContainer post_filter = 12 [json_name = "postFilter"];
    • hasProfile

      boolean hasProfile()
      optional bool profile = 13 [json_name = "profile"];
      Returns:
      Whether the profile field is set.
    • getProfile

      boolean getProfile()
      optional bool profile = 13 [json_name = "profile"];
      Returns:
      The profile.
    • hasSearchPipeline

      boolean hasSearchPipeline()
      optional string search_pipeline = 14 [json_name = "searchPipeline"];
      Returns:
      Whether the searchPipeline field is set.
    • getSearchPipeline

      String getSearchPipeline()
      optional string search_pipeline = 14 [json_name = "searchPipeline"];
      Returns:
      The searchPipeline.
    • getSearchPipelineBytes

      com.google.protobuf.ByteString getSearchPipelineBytes()
      optional string search_pipeline = 14 [json_name = "searchPipeline"];
      Returns:
      The bytes for searchPipeline.
    • hasVerbosePipeline

      boolean hasVerbosePipeline()
      optional bool verbose_pipeline = 15 [json_name = "verbosePipeline"];
      Returns:
      Whether the verbosePipeline field is set.
    • getVerbosePipeline

      boolean getVerbosePipeline()
      optional bool verbose_pipeline = 15 [json_name = "verbosePipeline"];
      Returns:
      The verbosePipeline.
    • hasQuery

      boolean hasQuery()
      optional .org.opensearch.protobufs.QueryContainer query = 16 [json_name = "query"];
      Returns:
      Whether the query field is set.
    • getQuery

      QueryContainer getQuery()
      optional .org.opensearch.protobufs.QueryContainer query = 16 [json_name = "query"];
      Returns:
      The query.
    • getQueryOrBuilder

      QueryContainerOrBuilder getQueryOrBuilder()
      optional .org.opensearch.protobufs.QueryContainer query = 16 [json_name = "query"];
    • getRescoreList

      List<Rescore> getRescoreList()
      repeated .org.opensearch.protobufs.Rescore rescore = 17 [json_name = "rescore"];
    • getRescore

      Rescore getRescore(int index)
      repeated .org.opensearch.protobufs.Rescore rescore = 17 [json_name = "rescore"];
    • getRescoreCount

      int getRescoreCount()
      repeated .org.opensearch.protobufs.Rescore rescore = 17 [json_name = "rescore"];
    • getRescoreOrBuilderList

      List<? extends RescoreOrBuilder> getRescoreOrBuilderList()
      repeated .org.opensearch.protobufs.Rescore rescore = 17 [json_name = "rescore"];
    • getRescoreOrBuilder

      RescoreOrBuilder getRescoreOrBuilder(int index)
      repeated .org.opensearch.protobufs.Rescore rescore = 17 [json_name = "rescore"];
    • getScriptFieldsCount

      int getScriptFieldsCount()
      map<string, .org.opensearch.protobufs.ScriptField> script_fields = 18 [json_name = "scriptFields"];
    • containsScriptFields

      boolean containsScriptFields(String key)
      map<string, .org.opensearch.protobufs.ScriptField> script_fields = 18 [json_name = "scriptFields"];
    • getScriptFields

      @Deprecated Map<String,ScriptField> getScriptFields()
      Deprecated.
    • getScriptFieldsMap

      Map<String,ScriptField> getScriptFieldsMap()
      map<string, .org.opensearch.protobufs.ScriptField> script_fields = 18 [json_name = "scriptFields"];
    • getScriptFieldsOrDefault

      ScriptField getScriptFieldsOrDefault(String key, ScriptField defaultValue)
      map<string, .org.opensearch.protobufs.ScriptField> script_fields = 18 [json_name = "scriptFields"];
    • getScriptFieldsOrThrow

      ScriptField getScriptFieldsOrThrow(String key)
      map<string, .org.opensearch.protobufs.ScriptField> script_fields = 18 [json_name = "scriptFields"];
    • getSearchAfterList

      List<FieldValue> getSearchAfterList()
      repeated .org.opensearch.protobufs.FieldValue search_after = 19 [json_name = "searchAfter"];
    • getSearchAfter

      FieldValue getSearchAfter(int index)
      repeated .org.opensearch.protobufs.FieldValue search_after = 19 [json_name = "searchAfter"];
    • getSearchAfterCount

      int getSearchAfterCount()
      repeated .org.opensearch.protobufs.FieldValue search_after = 19 [json_name = "searchAfter"];
    • getSearchAfterOrBuilderList

      List<? extends FieldValueOrBuilder> getSearchAfterOrBuilderList()
      repeated .org.opensearch.protobufs.FieldValue search_after = 19 [json_name = "searchAfter"];
    • getSearchAfterOrBuilder

      FieldValueOrBuilder getSearchAfterOrBuilder(int index)
      repeated .org.opensearch.protobufs.FieldValue search_after = 19 [json_name = "searchAfter"];
    • hasSize

      boolean hasSize()
      optional int32 size = 20 [json_name = "size"];
      Returns:
      Whether the size field is set.
    • getSize

      int getSize()
      optional int32 size = 20 [json_name = "size"];
      Returns:
      The size.
    • hasSlice

      boolean hasSlice()
      optional .org.opensearch.protobufs.SlicedScroll slice = 21 [json_name = "slice"];
      Returns:
      Whether the slice field is set.
    • getSlice

      SlicedScroll getSlice()
      optional .org.opensearch.protobufs.SlicedScroll slice = 21 [json_name = "slice"];
      Returns:
      The slice.
    • getSliceOrBuilder

      SlicedScrollOrBuilder getSliceOrBuilder()
      optional .org.opensearch.protobufs.SlicedScroll slice = 21 [json_name = "slice"];
    • getSortList

      List<SortCombinations> getSortList()
      repeated .org.opensearch.protobufs.SortCombinations sort = 22 [json_name = "sort"];
    • getSort

      SortCombinations getSort(int index)
      repeated .org.opensearch.protobufs.SortCombinations sort = 22 [json_name = "sort"];
    • getSortCount

      int getSortCount()
      repeated .org.opensearch.protobufs.SortCombinations sort = 22 [json_name = "sort"];
    • getSortOrBuilderList

      List<? extends SortCombinationsOrBuilder> getSortOrBuilderList()
      repeated .org.opensearch.protobufs.SortCombinations sort = 22 [json_name = "sort"];
    • getSortOrBuilder

      SortCombinationsOrBuilder getSortOrBuilder(int index)
      repeated .org.opensearch.protobufs.SortCombinations sort = 22 [json_name = "sort"];
    • hasXSource

      boolean hasXSource()
      optional .org.opensearch.protobufs.SourceConfig x_source = 23 [json_name = "xSource"];
      Returns:
      Whether the xSource field is set.
    • getXSource

      SourceConfig getXSource()
      optional .org.opensearch.protobufs.SourceConfig x_source = 23 [json_name = "xSource"];
      Returns:
      The xSource.
    • getXSourceOrBuilder

      SourceConfigOrBuilder getXSourceOrBuilder()
      optional .org.opensearch.protobufs.SourceConfig x_source = 23 [json_name = "xSource"];
    • getFieldsList

      List<FieldAndFormat> getFieldsList()
      repeated .org.opensearch.protobufs.FieldAndFormat fields = 24 [json_name = "fields"];
    • getFields

      FieldAndFormat getFields(int index)
      repeated .org.opensearch.protobufs.FieldAndFormat fields = 24 [json_name = "fields"];
    • getFieldsCount

      int getFieldsCount()
      repeated .org.opensearch.protobufs.FieldAndFormat fields = 24 [json_name = "fields"];
    • getFieldsOrBuilderList

      List<? extends FieldAndFormatOrBuilder> getFieldsOrBuilderList()
      repeated .org.opensearch.protobufs.FieldAndFormat fields = 24 [json_name = "fields"];
    • getFieldsOrBuilder

      FieldAndFormatOrBuilder getFieldsOrBuilder(int index)
      repeated .org.opensearch.protobufs.FieldAndFormat fields = 24 [json_name = "fields"];
    • hasTerminateAfter

      boolean hasTerminateAfter()
      optional int32 terminate_after = 26 [json_name = "terminateAfter"];
      Returns:
      Whether the terminateAfter field is set.
    • getTerminateAfter

      int getTerminateAfter()
      optional int32 terminate_after = 26 [json_name = "terminateAfter"];
      Returns:
      The terminateAfter.
    • hasTimeout

      boolean hasTimeout()
      optional string timeout = 27 [json_name = "timeout"];
      Returns:
      Whether the timeout field is set.
    • getTimeout

      String getTimeout()
      optional string timeout = 27 [json_name = "timeout"];
      Returns:
      The timeout.
    • getTimeoutBytes

      com.google.protobuf.ByteString getTimeoutBytes()
      optional string timeout = 27 [json_name = "timeout"];
      Returns:
      The bytes for timeout.
    • hasTrackScores

      boolean hasTrackScores()
      optional bool track_scores = 28 [json_name = "trackScores"];
      Returns:
      Whether the trackScores field is set.
    • getTrackScores

      boolean getTrackScores()
      optional bool track_scores = 28 [json_name = "trackScores"];
      Returns:
      The trackScores.
    • hasIncludeNamedQueriesScore

      boolean hasIncludeNamedQueriesScore()
      optional bool include_named_queries_score = 29 [json_name = "includeNamedQueriesScore"];
      Returns:
      Whether the includeNamedQueriesScore field is set.
    • getIncludeNamedQueriesScore

      boolean getIncludeNamedQueriesScore()
      optional bool include_named_queries_score = 29 [json_name = "includeNamedQueriesScore"];
      Returns:
      The includeNamedQueriesScore.
    • hasVersion

      boolean hasVersion()
      optional bool version = 30 [json_name = "version"];
      Returns:
      Whether the version field is set.
    • getVersion

      boolean getVersion()
      optional bool version = 30 [json_name = "version"];
      Returns:
      The version.
    • hasSeqNoPrimaryTerm

      boolean hasSeqNoPrimaryTerm()
      optional bool seq_no_primary_term = 31 [json_name = "seqNoPrimaryTerm"];
      Returns:
      Whether the seqNoPrimaryTerm field is set.
    • getSeqNoPrimaryTerm

      boolean getSeqNoPrimaryTerm()
      optional bool seq_no_primary_term = 31 [json_name = "seqNoPrimaryTerm"];
      Returns:
      The seqNoPrimaryTerm.
    • getStoredFieldsList

      List<String> getStoredFieldsList()
      repeated string stored_fields = 32 [json_name = "storedFields"];
      Returns:
      A list containing the storedFields.
    • getStoredFieldsCount

      int getStoredFieldsCount()
      repeated string stored_fields = 32 [json_name = "storedFields"];
      Returns:
      The count of storedFields.
    • getStoredFields

      String getStoredFields(int index)
      repeated string stored_fields = 32 [json_name = "storedFields"];
      Parameters:
      index - The index of the element to return.
      Returns:
      The storedFields at the given index.
    • getStoredFieldsBytes

      com.google.protobuf.ByteString getStoredFieldsBytes(int index)
      repeated string stored_fields = 32 [json_name = "storedFields"];
      Parameters:
      index - The index of the value to return.
      Returns:
      The bytes of the storedFields at the given index.
    • hasPit

      boolean hasPit()
      optional .org.opensearch.protobufs.PointInTimeReference pit = 33 [json_name = "pit"];
      Returns:
      Whether the pit field is set.
    • getPit

      optional .org.opensearch.protobufs.PointInTimeReference pit = 33 [json_name = "pit"];
      Returns:
      The pit.
    • getPitOrBuilder

      optional .org.opensearch.protobufs.PointInTimeReference pit = 33 [json_name = "pit"];
    • getStatsList

      List<String> getStatsList()
      repeated string stats = 34 [json_name = "stats"];
      Returns:
      A list containing the stats.
    • getStatsCount

      int getStatsCount()
      repeated string stats = 34 [json_name = "stats"];
      Returns:
      The count of stats.
    • getStats

      String getStats(int index)
      repeated string stats = 34 [json_name = "stats"];
      Parameters:
      index - The index of the element to return.
      Returns:
      The stats at the given index.
    • getStatsBytes

      com.google.protobuf.ByteString getStatsBytes(int index)
      repeated string stats = 34 [json_name = "stats"];
      Parameters:
      index - The index of the value to return.
      Returns:
      The bytes of the stats at the given index.
    • getDerivedCount

      int getDerivedCount()
      map<string, .org.opensearch.protobufs.DerivedField> derived = 35 [json_name = "derived"];
    • containsDerived

      boolean containsDerived(String key)
      map<string, .org.opensearch.protobufs.DerivedField> derived = 35 [json_name = "derived"];
    • getDerived

      Deprecated.
      Use getDerivedMap() instead.
    • getDerivedMap

      Map<String,DerivedField> getDerivedMap()
      map<string, .org.opensearch.protobufs.DerivedField> derived = 35 [json_name = "derived"];
    • getDerivedOrDefault

      DerivedField getDerivedOrDefault(String key, DerivedField defaultValue)
      map<string, .org.opensearch.protobufs.DerivedField> derived = 35 [json_name = "derived"];
    • getDerivedOrThrow

      DerivedField getDerivedOrThrow(String key)
      map<string, .org.opensearch.protobufs.DerivedField> derived = 35 [json_name = "derived"];
    • getIndicesBoost2List

      List<FloatMap> getIndicesBoost2List()
      repeated .org.opensearch.protobufs.FloatMap indices_boost_2 = 36 [json_name = "indicesBoost2"];
    • getIndicesBoost2

      FloatMap getIndicesBoost2(int index)
      repeated .org.opensearch.protobufs.FloatMap indices_boost_2 = 36 [json_name = "indicesBoost2"];
    • getIndicesBoost2Count

      int getIndicesBoost2Count()
      repeated .org.opensearch.protobufs.FloatMap indices_boost_2 = 36 [json_name = "indicesBoost2"];
    • getIndicesBoost2OrBuilderList

      List<? extends FloatMapOrBuilder> getIndicesBoost2OrBuilderList()
      repeated .org.opensearch.protobufs.FloatMap indices_boost_2 = 36 [json_name = "indicesBoost2"];
    • getIndicesBoost2OrBuilder

      FloatMapOrBuilder getIndicesBoost2OrBuilder(int index)
      repeated .org.opensearch.protobufs.FloatMap indices_boost_2 = 36 [json_name = "indicesBoost2"];
    • getAggregationsCount

      int getAggregationsCount()
      map<string, .org.opensearch.protobufs.AggregationContainer> aggregations = 37 [json_name = "aggregations"];
    • containsAggregations

      boolean containsAggregations(String key)
      map<string, .org.opensearch.protobufs.AggregationContainer> aggregations = 37 [json_name = "aggregations"];
    • getAggregations

      Deprecated.
    • getAggregationsMap

      Map<String,AggregationContainer> getAggregationsMap()
      map<string, .org.opensearch.protobufs.AggregationContainer> aggregations = 37 [json_name = "aggregations"];
    • getAggregationsOrDefault

      AggregationContainer getAggregationsOrDefault(String key, AggregationContainer defaultValue)
      map<string, .org.opensearch.protobufs.AggregationContainer> aggregations = 37 [json_name = "aggregations"];
    • getAggregationsOrThrow

      AggregationContainer getAggregationsOrThrow(String key)
      map<string, .org.opensearch.protobufs.AggregationContainer> aggregations = 37 [json_name = "aggregations"];