|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public static interface CompassQueryBuilder.CompassBooleanQueryBuilder
A boolean query builder. Used to construct query that will return hits that are the matching boolean combinations of other queries.
| Method Summary | |
|---|---|
CompassQueryBuilder.CompassBooleanQueryBuilder |
addMust(CompassQuery query)
Hits must match the given query. |
CompassQueryBuilder.CompassBooleanQueryBuilder |
addMustNot(CompassQuery query)
Hits must not match the given query. |
CompassQueryBuilder.CompassBooleanQueryBuilder |
addShould(CompassQuery query)
Hits should match the given query. |
| Methods inherited from interface org.compass.core.CompassQueryBuilder.ToCompassQuery |
|---|
toQuery |
| Method Detail |
|---|
CompassQueryBuilder.CompassBooleanQueryBuilder addMust(CompassQuery query)
query - The query to add
CompassQueryBuilder.CompassBooleanQueryBuilder addMustNot(CompassQuery query)
query - The query to add
CompassQueryBuilder.CompassBooleanQueryBuilder addShould(CompassQuery query)
should subqueries, at least one of the queries must
appear in the matching hits.
query - The query to add
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||