public interface ComplexSearchQuery extends SearchQuery
SearchQueryBuilder.createComplexQuery()
,
addRequiredQuery(SearchQuery)
,
addExcludingQuery(SearchQuery)
,
addOptionalQuery(SearchQuery)
Modifier and Type | Method and Description |
---|---|
void |
addExcludingQuery(SearchQuery subQuery)
This method adds the given
subQuery as excluding sub-query. |
void |
addOptionalQuery(SearchQuery subQuery)
This method adds the given
subQuery as optional sub-query. |
void |
addRequiredQuery(SearchQuery subQuery)
This method adds the given
subQuery as required sub-query. |
int |
getSubQueryCount()
This method gets the number of sub-queries that have been added to this query.
|
toString
void addRequiredQuery(SearchQuery subQuery)
subQuery
as required sub-query. A
entry
has to match the subQuery
in order to match
this complex query.subQuery
- is the sub-query to add.void addOptionalQuery(SearchQuery subQuery)
subQuery
as optional sub-query. A
entry
should match the subQuery
in order to match
this complex query. Else if other sub-queries match, this complex query can still match with a lower
score
.subQuery
- is the sub-query to add.void addExcludingQuery(SearchQuery subQuery)
subQuery
as excluding sub-query. A
entry
must NOT match the subQuery
in order to
match this complex query.subQuery
- is the sub-query to add.int getSubQueryCount()
Copyright © 2001–2016 mmm-Team. All rights reserved.