| 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 |
| Modifier and Type | Method and Description |
|---|---|
protected <T> SearchHits<T> |
ElasticsearchTemplate.doSearch(MoreLikeThisQuery query,
Class<T> clazz,
IndexCoordinates index) |
<T> SearchHits<T> |
ElasticsearchTemplate.search(Query query,
Class<T> clazz,
IndexCoordinates index) |
| Modifier and Type | Method and Description |
|---|---|
<T> List<SearchHits<T>> |
ElasticsearchTemplate.multiSearch(List<? extends Query> queries,
Class<T> clazz,
IndexCoordinates index) |
List<SearchHits<?>> |
ElasticsearchTemplate.multiSearch(List<? extends Query> queries,
List<Class<?>> classes) |
List<SearchHits<?>> |
ElasticsearchTemplate.multiSearch(List<? extends Query> queries,
List<Class<?>> classes,
IndexCoordinates index) |
| Modifier and Type | Interface and Description |
|---|---|
interface |
SearchScrollHits<T>
This interface is used to expose the current
scrollId from the underlying scroll context. |
| Modifier and Type | Class and Description |
|---|---|
class |
SearchHitsImpl<T>
Basic implementation of
SearchScrollHits |
| Modifier and Type | Field and Description |
|---|---|
protected SearchHits<T> |
ReactiveSearchHitsImpl.delegate |
| Modifier and Type | Method and Description |
|---|---|
protected abstract <T> SearchHits<T> |
AbstractElasticsearchTemplate.doSearch(MoreLikeThisQuery query,
Class<T> clazz,
IndexCoordinates index) |
protected <T> SearchHits<T> |
ElasticsearchRestTemplate.doSearch(MoreLikeThisQuery query,
Class<T> clazz,
IndexCoordinates index) |
SearchHits<T> |
AbstractElasticsearchTemplate.ReadSearchDocumentResponseCallback.doWith(SearchDocumentResponse response) |
SearchHits<?> |
SearchHit.getInnerHits(String name)
returns the
SearchHits for the inner hits with the given name. |
SearchHits<T> |
SearchPage.getSearchHits() |
SearchHits<T> |
SearchHitMapping.mapHits(SearchDocumentResponse searchDocumentResponse,
List<T> contents) |
<T> SearchHits<T> |
SearchOperations.search(MoreLikeThisQuery query,
Class<T> clazz)
more like this query to search for documents that are "like" a specific document.
|
<T> SearchHits<T> |
AbstractElasticsearchTemplate.search(MoreLikeThisQuery query,
Class<T> clazz) |
<T> SearchHits<T> |
SearchOperations.search(MoreLikeThisQuery query,
Class<T> clazz,
IndexCoordinates index)
more like this query to search for documents that are "like" a specific document.
|
<T> SearchHits<T> |
AbstractElasticsearchTemplate.search(MoreLikeThisQuery query,
Class<T> clazz,
IndexCoordinates index) |
<T> SearchHits<T> |
SearchOperations.search(Query query,
Class<T> clazz)
Execute the criteria query against elasticsearch and return result as
SearchHits |
<T> SearchHits<T> |
AbstractElasticsearchTemplate.search(Query query,
Class<T> clazz) |
<T> SearchHits<T> |
SearchOperations.search(Query query,
Class<T> clazz,
IndexCoordinates index)
Execute the criteria query against elasticsearch and return result as
SearchHits |
<T> SearchHits<T> |
ElasticsearchRestTemplate.search(Query query,
Class<T> clazz,
IndexCoordinates index) |
| Modifier and Type | Method and Description |
|---|---|
Map<String,SearchHits<?>> |
SearchHit.getInnerHits() |
<T> List<SearchHits<T>> |
SearchOperations.multiSearch(List<? extends Query> queries,
Class<T> clazz)
Execute the multi search query against elasticsearch and return result as
List of SearchHits. |
<T> List<SearchHits<T>> |
AbstractElasticsearchTemplate.multiSearch(List<? extends Query> queries,
Class<T> clazz) |
<T> List<SearchHits<T>> |
SearchOperations.multiSearch(List<? extends Query> queries,
Class<T> clazz,
IndexCoordinates index)
Execute the multi search query against elasticsearch and return result as
List of SearchHits. |
<T> List<SearchHits<T>> |
ElasticsearchRestTemplate.multiSearch(List<? extends Query> queries,
Class<T> clazz,
IndexCoordinates index) |
List<SearchHits<?>> |
SearchOperations.multiSearch(List<? extends Query> queries,
List<Class<?>> classes)
Execute the multi search query against elasticsearch and return result as
List of SearchHits. |
List<SearchHits<?>> |
ElasticsearchRestTemplate.multiSearch(List<? extends Query> queries,
List<Class<?>> classes) |
List<SearchHits<?>> |
SearchOperations.multiSearch(List<? extends Query> queries,
List<Class<?>> classes,
IndexCoordinates index)
Execute the multi search query against elasticsearch and return result as
List of SearchHits. |
List<SearchHits<?>> |
ElasticsearchRestTemplate.multiSearch(List<? extends Query> queries,
List<Class<?>> classes,
IndexCoordinates index) |
| Modifier and Type | Method and Description |
|---|---|
static <T> ReactiveSearchHits<T> |
ReactiveSearchHitSupport.searchHitsFor(SearchHits<T> searchHits) |
static <T> SearchPage<T> |
SearchHitSupport.searchPageFor(SearchHits<T> searchHits,
Pageable pageable) |
| Constructor and Description |
|---|
ReactiveSearchHitsImpl(SearchHits<T> delegate) |
| Constructor and Description |
|---|
SearchHit(String index,
String id,
String routing,
float score,
Object[] sortValues,
Map<String,List<String>> highlightFields,
Map<String,SearchHits<?>> innerHits,
NestedMetaData nestedMetaData,
Explanation explanation,
List<String> matchedQueries,
T content) |
Copyright © 2011–2022 Pivotal Software, Inc.. All rights reserved.