Package org.hibernate.search.query.dsl
Interface MustJunction
- All Superinterfaces:
BooleanJunction<MustJunction>,QueryCustomization<MustJunction>,Termination
Deprecated.
Represents the context in which a must clause is described.
- Author:
- Emmanuel Bernard, Sanne Grinovero
-
Method Summary
Modifier and TypeMethodDescriptionDeprecated.Disables scoring on the subquery.not()Deprecated.Negate the must clause.Methods inherited from interface org.hibernate.search.query.dsl.BooleanJunction
isEmpty, minimumShouldMatchNumber, minimumShouldMatchPercent, must, shouldMethods inherited from interface org.hibernate.search.query.dsl.QueryCustomization
boostedTo, filteredBy, withConstantScoreMethods inherited from interface org.hibernate.search.query.dsl.Termination
createQuery
-
Method Details
-
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.
-
QueryBuilder.