| Package | Description |
|---|---|
| org.springframework.data.elasticsearch.client.elc |
This package contains classes that use the new Elasticsearch client library (co.elastic.clients:elasticsearch-java)
to access Elasticsearch.
|
| 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 <T> reactor.core.publisher.Mono<SearchDocumentResponse> |
ReactiveElasticsearchTemplate.doFindForResponse(Query query,
Class<?> clazz,
IndexCoordinates index) |
| Modifier and Type | Method and Description |
|---|---|
protected abstract <T> reactor.core.publisher.Mono<SearchDocumentResponse> |
AbstractReactiveElasticsearchTemplate.doFindForResponse(Query query,
Class<?> clazz,
IndexCoordinates index) |
protected <T> reactor.core.publisher.Mono<SearchDocumentResponse> |
ReactiveElasticsearchTemplate.doFindForResponse(Query query,
Class<?> clazz,
IndexCoordinates index) |
protected <T> reactor.core.publisher.Mono<SearchDocumentResponse> |
ReactiveElasticsearchTemplate.doFindForResponse(org.elasticsearch.action.search.SearchRequest request,
SearchDocumentResponse.EntityCreator<T> entityCreator)
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) |
SearchHits<T> |
SearchHitMapping.mapHits(SearchDocumentResponse searchDocumentResponse,
List<T> contents) |
| Modifier and Type | Method and Description |
|---|---|
static <T> SearchDocumentResponse |
SearchDocumentResponseBuilder.from(org.elasticsearch.search.SearchHits searchHits,
String scrollId,
org.elasticsearch.search.aggregations.Aggregations aggregations,
org.elasticsearch.search.suggest.Suggest suggestES,
SearchDocumentResponse.EntityCreator<T> entityCreator)
creates a
SearchDocumentResponseBuilder from SearchHits with the given scrollId aggregations and
suggest |
static <T> SearchDocumentResponse |
SearchDocumentResponseBuilder.from(org.elasticsearch.action.search.SearchResponse searchResponse,
SearchDocumentResponse.EntityCreator<T> entityCreator)
creates a SearchDocumentResponse from the
SearchResponse |
| Modifier and Type | Method and Description |
|---|---|
Map<String,SearchDocumentResponse> |
SearchDocumentAdapter.getInnerHits() |
default Map<String,SearchDocumentResponse> |
SearchDocument.getInnerHits() |
| Constructor and Description |
|---|
SearchDocumentAdapter(Document delegate,
float score,
Object[] sortValues,
Map<String,List<Object>> fields,
Map<String,List<String>> highlightFields,
Map<String,SearchDocumentResponse> innerHits,
NestedMetaData nestedMetaData,
Explanation explanation,
List<String> matchedQueries,
String routing) |
Copyright © 2011–2022 Pivotal Software, Inc.. All rights reserved.