| Package | Description |
|---|---|
| org.springframework.data.elasticsearch.core | |
| org.springframework.data.elasticsearch.core.document |
Classes related to the Document structure of Elasticsearch documents and search responses.
|
| Modifier and Type | Method and Description |
|---|---|
protected reactor.core.publisher.Mono<SearchDocumentResponse> |
ReactiveElasticsearchTemplate.doFindForResponse(org.elasticsearch.action.search.SearchRequest request)
Customization hook on the actual execution result
Mono. |
| Modifier and Type | Method and Description |
|---|---|
T |
AbstractElasticsearchTemplate.SearchDocumentResponseCallback.doWith(SearchDocumentResponse response) |
SearchHits<T> |
AbstractElasticsearchTemplate.ReadSearchDocumentResponseCallback.doWith(SearchDocumentResponse response) |
SearchScrollHits<T> |
AbstractElasticsearchTemplate.ReadSearchScrollDocumentResponseCallback.doWith(SearchDocumentResponse response) |
| Modifier and Type | Method and Description |
|---|---|
static SearchDocumentResponse |
SearchDocumentResponse.from(org.elasticsearch.search.SearchHits searchHits,
String scrollId,
org.elasticsearch.search.aggregations.Aggregations aggregations)
creates a
SearchDocumentResponse from SearchHits with the given scrollId and aggregations |
static SearchDocumentResponse |
SearchDocumentResponse.from(org.elasticsearch.action.search.SearchResponse searchResponse)
creates a SearchDocumentResponse from the
SearchResponse |
| Modifier and Type | Method and Description |
|---|---|
default Map<String,SearchDocumentResponse> |
SearchDocument.getInnerHits() |
Copyright © 2011–2021 Pivotal Software, Inc.. All rights reserved.