org.hibernate.search.query.dsl
public interface BooleanJunction<T extends BooleanJunction> extends QueryCustomization<T>, Termination
| Modifier and Type | Method and Description |
|---|---|
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.
|
BooleanJunction |
should(Query query)
The boolean query results should match the subquery
|
boostedTo, filteredBy, withConstantScorecreateQueryBooleanJunction should(Query query)
MustJunction must(Query query)
Copyright © 2006-2015 Red Hat, Inc. All Rights Reserved