Interface BooleanJunction<T extends BooleanJunction>

All Superinterfaces:
QueryCustomization<T>, Termination
All Known Subinterfaces:
MustJunction

public interface BooleanJunction<T extends BooleanJunction> extends QueryCustomization<T>, Termination
Represents a boolean query that can contains one or more elements to join
  • Method Details

    • should

      BooleanJunction should(Query query)
      The boolean query results should match the subquery
    • must

      MustJunction must(Query query)
      The boolean query results must (or must not) match the subquery Call the .not() method to ensure results of the boolean query do NOT match the subquery.