Interface MustJunction

All Superinterfaces:
BooleanJunction<MustJunction>, QueryCustomization<MustJunction>, Termination

@Deprecated public interface MustJunction extends BooleanJunction<MustJunction>
Deprecated.
See the deprecation note on QueryBuilder.
Represents the context in which a must clause is described.
Author:
Emmanuel Bernard, Sanne Grinovero
  • Method Details

    • not

      Deprecated.
      Negate the must clause. Results of the boolean query do NOT match the subquery. A negated must clause always disables scoring on the subquery.
      Returns:
      the same BooleanJunction for method chaining.
    • disableScoring

      BooleanJunction disableScoring()
      Deprecated.
      Disables scoring on the subquery. If you are only interested to use this clause as a filtering criteria and don't need it to affect result scoring, this might improve performance.
      Returns:
      the same BooleanJunction for method chaining.