org.hibernate.search.query.dsl
Interface BooleanJunction<T extends BooleanJunction>

All Superinterfaces:
QueryCustomization<T>, Termination
All Known Subinterfaces:
MustJunction

public interface BooleanJunction<T extends BooleanJunction>
extends QueryCustomization<T>, Termination

Represents a boolean query that can contains one or more elements to join

Author:
Emmanuel Bernard

Method Summary
 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
 
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

should

BooleanJunction should(Query query)
The boolean query results should match the subquery


must

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.



Copyright © 2006-2012 Red Hat Middleware, LLC. All Rights Reserved