Interface BoolQueryOrBuilder

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

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

    • hasBoost

      boolean hasBoost()
      optional float boost = 1 [json_name = "boost"];
      Returns:
      Whether the boost field is set.
    • getBoost

      float getBoost()
      optional float boost = 1 [json_name = "boost"];
      Returns:
      The boost.
    • hasXName

      boolean hasXName()
      optional string x_name = 2 [json_name = "xName"];
      Returns:
      Whether the xName field is set.
    • getXName

      String getXName()
      optional string x_name = 2 [json_name = "xName"];
      Returns:
      The xName.
    • getXNameBytes

      com.google.protobuf.ByteString getXNameBytes()
      optional string x_name = 2 [json_name = "xName"];
      Returns:
      The bytes for xName.
    • getFilterList

      List<QueryContainer> getFilterList()
      repeated .org.opensearch.protobufs.QueryContainer filter = 3 [json_name = "filter"];
    • getFilter

      QueryContainer getFilter(int index)
      repeated .org.opensearch.protobufs.QueryContainer filter = 3 [json_name = "filter"];
    • getFilterCount

      int getFilterCount()
      repeated .org.opensearch.protobufs.QueryContainer filter = 3 [json_name = "filter"];
    • getFilterOrBuilderList

      List<? extends QueryContainerOrBuilder> getFilterOrBuilderList()
      repeated .org.opensearch.protobufs.QueryContainer filter = 3 [json_name = "filter"];
    • getFilterOrBuilder

      QueryContainerOrBuilder getFilterOrBuilder(int index)
      repeated .org.opensearch.protobufs.QueryContainer filter = 3 [json_name = "filter"];
    • hasMinimumShouldMatch

      boolean hasMinimumShouldMatch()
      optional .org.opensearch.protobufs.MinimumShouldMatch minimum_should_match = 4 [json_name = "minimumShouldMatch"];
      Returns:
      Whether the minimumShouldMatch field is set.
    • getMinimumShouldMatch

      MinimumShouldMatch getMinimumShouldMatch()
      optional .org.opensearch.protobufs.MinimumShouldMatch minimum_should_match = 4 [json_name = "minimumShouldMatch"];
      Returns:
      The minimumShouldMatch.
    • getMinimumShouldMatchOrBuilder

      MinimumShouldMatchOrBuilder getMinimumShouldMatchOrBuilder()
      optional .org.opensearch.protobufs.MinimumShouldMatch minimum_should_match = 4 [json_name = "minimumShouldMatch"];
    • getMustList

      List<QueryContainer> getMustList()
      repeated .org.opensearch.protobufs.QueryContainer must = 5 [json_name = "must"];
    • getMust

      QueryContainer getMust(int index)
      repeated .org.opensearch.protobufs.QueryContainer must = 5 [json_name = "must"];
    • getMustCount

      int getMustCount()
      repeated .org.opensearch.protobufs.QueryContainer must = 5 [json_name = "must"];
    • getMustOrBuilderList

      List<? extends QueryContainerOrBuilder> getMustOrBuilderList()
      repeated .org.opensearch.protobufs.QueryContainer must = 5 [json_name = "must"];
    • getMustOrBuilder

      QueryContainerOrBuilder getMustOrBuilder(int index)
      repeated .org.opensearch.protobufs.QueryContainer must = 5 [json_name = "must"];
    • getMustNotList

      List<QueryContainer> getMustNotList()
      repeated .org.opensearch.protobufs.QueryContainer must_not = 6 [json_name = "mustNot"];
    • getMustNot

      QueryContainer getMustNot(int index)
      repeated .org.opensearch.protobufs.QueryContainer must_not = 6 [json_name = "mustNot"];
    • getMustNotCount

      int getMustNotCount()
      repeated .org.opensearch.protobufs.QueryContainer must_not = 6 [json_name = "mustNot"];
    • getMustNotOrBuilderList

      List<? extends QueryContainerOrBuilder> getMustNotOrBuilderList()
      repeated .org.opensearch.protobufs.QueryContainer must_not = 6 [json_name = "mustNot"];
    • getMustNotOrBuilder

      QueryContainerOrBuilder getMustNotOrBuilder(int index)
      repeated .org.opensearch.protobufs.QueryContainer must_not = 6 [json_name = "mustNot"];
    • getShouldList

      List<QueryContainer> getShouldList()
      repeated .org.opensearch.protobufs.QueryContainer should = 7 [json_name = "should"];
    • getShould

      QueryContainer getShould(int index)
      repeated .org.opensearch.protobufs.QueryContainer should = 7 [json_name = "should"];
    • getShouldCount

      int getShouldCount()
      repeated .org.opensearch.protobufs.QueryContainer should = 7 [json_name = "should"];
    • getShouldOrBuilderList

      List<? extends QueryContainerOrBuilder> getShouldOrBuilderList()
      repeated .org.opensearch.protobufs.QueryContainer should = 7 [json_name = "should"];
    • getShouldOrBuilder

      QueryContainerOrBuilder getShouldOrBuilder(int index)
      repeated .org.opensearch.protobufs.QueryContainer should = 7 [json_name = "should"];
    • hasAdjustPureNegative

      boolean hasAdjustPureNegative()
      optional bool adjust_pure_negative = 8 [json_name = "adjustPureNegative"];
      Returns:
      Whether the adjustPureNegative field is set.
    • getAdjustPureNegative

      boolean getAdjustPureNegative()
      optional bool adjust_pure_negative = 8 [json_name = "adjustPureNegative"];
      Returns:
      The adjustPureNegative.