Package org.hibernate.search.query.dsl
Interface MustJunction
-
- All Superinterfaces:
BooleanJunction<MustJunction>,QueryCustomization<MustJunction>,Termination
@Deprecated public interface MustJunction extends BooleanJunction<MustJunction>
Deprecated.See the deprecation note onQueryBuilder.Represents the context in which a must clause is described.- Author:
- Emmanuel Bernard, Sanne Grinovero
-
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description BooleanJunctiondisableScoring()Deprecated.Disables scoring on the subquery.BooleanJunctionnot()Deprecated.Negate the must clause.-
Methods inherited from interface org.hibernate.search.query.dsl.BooleanJunction
isEmpty, minimumShouldMatchNumber, minimumShouldMatchPercent, must, should
-
Methods inherited from interface org.hibernate.search.query.dsl.QueryCustomization
boostedTo, filteredBy, withConstantScore
-
Methods inherited from interface org.hibernate.search.query.dsl.Termination
createQuery
-
-
-
-
Method Detail
-
not
BooleanJunction 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
BooleanJunctionfor 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
BooleanJunctionfor method chaining.
-
-