public interface SearchResultMapper
| Modifier and Type | Method and Description |
|---|---|
<T> AggregatedPage<T> |
mapResults(org.elasticsearch.action.search.SearchResponse response,
Class<T> clazz,
Pageable pageable) |
<T> T |
mapSearchHit(org.elasticsearch.search.SearchHit searchHit,
Class<T> type)
Map a single
SearchHit to the given type. |
<T> AggregatedPage<T> mapResults(org.elasticsearch.action.search.SearchResponse response, Class<T> clazz, Pageable pageable)
Copyright © 2011–2020 Pivotal Software, Inc.. All rights reserved.