|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface BooleanJunction<T extends BooleanJunction>
Represents a boolean query that can contains one or more elements to join
| Method Summary | |
|---|---|
org.apache.lucene.search.Query |
createQuery()
Return the lucene query representing the boolean operation |
MustJunction |
must(org.apache.lucene.search.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(org.apache.lucene.search.Query query)
The boolean query results should match the subquery |
| Methods inherited from interface org.hibernate.search.query.dsl.v2.QueryCustomization |
|---|
boostedTo, constantScore, filter |
| Method Detail |
|---|
BooleanJunction should(org.apache.lucene.search.Query query)
MustJunction must(org.apache.lucene.search.Query query)
org.apache.lucene.search.Query createQuery()
createQuery in interface QueryCustomization<T extends BooleanJunction>
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||