S - The type actually exposed to the user for this context (may be a subtype of SearchQueryContext, with more exposed methods).H - The type of hits for the created query.SC - The type of contexts used to create sorts in sort(Consumer).public interface SearchQueryContext<S extends SearchQueryContext<? extends S,H,SC>,H,SC extends SearchSortContainerContext> extends SearchFetchable<H>
| Modifier and Type | Method and Description |
|---|---|
S |
routing(Collection<String> routingKeys) |
S |
routing(String routingKey) |
S |
sort(Consumer<? super SC> sortContributor) |
S |
sort(SearchSort sort) |
SearchQuery<H> |
toQuery() |
fetch, fetch, fetch, fetchHits, fetchHits, fetchHits, fetchSingleHit, fetchTotalHitCountS routing(Collection<String> routingKeys)
S sort(SearchSort sort)
SearchQuery<H> toQuery()
Copyright © 2006-2019 Red Hat, Inc. and others. Licensed under the GNU Lesser General Public License (LGPL), version 2.1 or later.