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