|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface QueryBuilder
Builds up Lucene queries for a given entity type following the fluent API pattern. The resulting Query can
be obtained from the final Termination object of the invocation chain.
Query instance can be modified or combined with other queries, be them created
via this fluent API or using native Lucene APIs.
| Method Summary | |
|---|---|
AllContext |
all()
Query matching all documents (typically mixed with a boolean query). |
BooleanJunction<BooleanJunction> |
bool()
Start for building a boolean query. |
FacetContext |
facet()
Build a facet request |
TermContext |
keyword()
Build a term query (see TermQuery). |
PhraseContext |
phrase()
Build a phrase query (see PhraseQuery). |
RangeContext |
range()
Build a range query (see TermRangeQuery. |
SpatialContext |
spatial()
Build a spatial query |
| Method Detail |
|---|
TermContext keyword()
TermQuery).
TermContext instance for building the term queryRangeContext range()
TermRangeQuery.
RangeContext instance for building the range queryPhraseContext phrase()
PhraseQuery).
PhraseContext instance for building the range queryBooleanJunction<BooleanJunction> bool()
BooleanJunction instance for building the boolean queryAllContext all()
AllContextFacetContext facet()
SpatialContext spatial()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||