Interface SearchQueryBuilder<H>
- Type Parameters:
H- The type of query results
public interface SearchQueryBuilder<H>
A builder for search queries.
-
Method Summary
Modifier and TypeMethodDescriptionvoidaddRoutingKey(String routingKey) <A> voidaggregation(AggregationKey<A> key, SearchAggregation<A> aggregation) build()voidvoidhighlighter(String highlighterName, SearchHighlighter highlighter) voidhighlighter(SearchHighlighter queryHighlighter) voidvoidpredicate(SearchPredicate predicate) voidsort(SearchSort sort) voidtotalHitCountThreshold(long totalHitCountThreshold) voidtruncateAfter(long timeout, TimeUnit timeUnit)
-
Method Details
-
predicate
-
sort
-
aggregation
-
addRoutingKey
-
truncateAfter
-
failAfter
-
totalHitCountThreshold
void totalHitCountThreshold(long totalHitCountThreshold) -
highlighter
-
highlighter
-
param
-
build
SearchQuery<H> build()
-