Uses of Interface
org.springframework.data.elasticsearch.core.SearchHits
Packages that use SearchHits
Package
Description
This package contains classes that use the new Elasticsearch client library (co.elastic.clients:elasticsearch-java)
to access Elasticsearch.
This package contains classes that use the old Elasticsearch 7 libraries to access Elasticsearch either directly by
using the RestHighLevelClient or indirectly by using code copied from Elasticsearch libraries (reactive
implementation).
-
Uses of SearchHits in org.springframework.data.elasticsearch.client.elc
Methods in org.springframework.data.elasticsearch.client.elc that return SearchHitsModifier and TypeMethodDescriptionprotected <T> SearchHits<T>
ElasticsearchTemplate.doSearch
(MoreLikeThisQuery query, Class<T> clazz, IndexCoordinates index) protected <T> SearchHits<T>
ElasticsearchTemplate.doSearch
(Query query, Class<T> clazz, IndexCoordinates index) protected <T> SearchHits<T>
ElasticsearchTemplate.doSearch
(SearchTemplateQuery query, Class<T> clazz, IndexCoordinates index) <T> SearchHits<T>
ElasticsearchTemplate.search
(Query query, Class<T> clazz, IndexCoordinates index) Methods in org.springframework.data.elasticsearch.client.elc that return types with arguments of type SearchHitsModifier and TypeMethodDescription<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, List<IndexCoordinates> indexes) List<SearchHits<?>>
ElasticsearchTemplate.multiSearch
(List<? extends Query> queries, List<Class<?>> classes, IndexCoordinates index) -
Uses of SearchHits in org.springframework.data.elasticsearch.client.erhlc
Methods in org.springframework.data.elasticsearch.client.erhlc that return SearchHitsModifier and TypeMethodDescriptionprotected <T> SearchHits<T>
ElasticsearchRestTemplate.doSearch
(MoreLikeThisQuery query, Class<T> clazz, IndexCoordinates index) Deprecated.<T> SearchHits<T>
ElasticsearchRestTemplate.search
(Query query, Class<T> clazz, IndexCoordinates index) Deprecated.Methods in org.springframework.data.elasticsearch.client.erhlc that return types with arguments of type SearchHitsModifier and TypeMethodDescription<T> List<SearchHits<T>>
ElasticsearchRestTemplate.multiSearch
(List<? extends Query> queries, Class<T> clazz, IndexCoordinates index) Deprecated.List<SearchHits<?>>
ElasticsearchRestTemplate.multiSearch
(List<? extends Query> queries, List<Class<?>> classes) Deprecated.List<SearchHits<?>>
ElasticsearchRestTemplate.multiSearch
(List<? extends Query> queries, List<Class<?>> classes, List<IndexCoordinates> indexes) Deprecated.List<SearchHits<?>>
ElasticsearchRestTemplate.multiSearch
(List<? extends Query> queries, List<Class<?>> classes, IndexCoordinates index) Deprecated. -
Uses of SearchHits in org.springframework.data.elasticsearch.core
Subinterfaces of SearchHits in org.springframework.data.elasticsearch.coreModifier and TypeInterfaceDescriptioninterface
This interface is used to expose the currentscrollId
from the underlying scroll context.Classes in org.springframework.data.elasticsearch.core that implement SearchHitsFields in org.springframework.data.elasticsearch.core declared as SearchHitsMethods in org.springframework.data.elasticsearch.core that return SearchHitsModifier and TypeMethodDescriptionprotected abstract <T> SearchHits<T>
AbstractElasticsearchTemplate.doSearch
(MoreLikeThisQuery query, Class<T> clazz, IndexCoordinates index) AbstractElasticsearchTemplate.ReadSearchDocumentResponseCallback.doWith
(SearchDocumentResponse response) SearchHits<?>
SearchHit.getInnerHits
(String name) returns theSearchHits
for the inner hits with the given name.SearchPage.getSearchHits()
SearchHitMapping.mapHits
(SearchDocumentResponse searchDocumentResponse, List<T> contents) <T> SearchHits<T>
AbstractElasticsearchTemplate.search
(MoreLikeThisQuery query, Class<T> clazz) <T> SearchHits<T>
AbstractElasticsearchTemplate.search
(MoreLikeThisQuery query, Class<T> clazz, IndexCoordinates index) <T> SearchHits<T>
<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>
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>
Execute the criteria query against elasticsearch and return result asSearchHits
<T> SearchHits<T>
SearchOperations.search
(Query query, Class<T> clazz, IndexCoordinates index) Execute the criteria query against elasticsearch and return result asSearchHits
Methods in org.springframework.data.elasticsearch.core that return types with arguments of type SearchHitsModifier and TypeMethodDescriptionMap<String,
SearchHits<?>> SearchHit.getInnerHits()
<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) Execute the multi search query against elasticsearch and return result asList
ofSearchHits
.<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 asList
ofSearchHits
.List<SearchHits<?>>
SearchOperations.multiSearch
(List<? extends Query> queries, List<Class<?>> classes) Execute the multi search query against elasticsearch and return result asList
ofSearchHits
.List<SearchHits<?>>
SearchOperations.multiSearch
(List<? extends Query> queries, List<Class<?>> classes, List<IndexCoordinates> indexes) Execute the multi search query against elasticsearch and return result asList
ofSearchHits
.List<SearchHits<?>>
SearchOperations.multiSearch
(List<? extends Query> queries, List<Class<?>> classes, IndexCoordinates index) Execute the multi search query against elasticsearch and return result asList
ofSearchHits
.Methods in org.springframework.data.elasticsearch.core with parameters of type SearchHitsModifier and TypeMethodDescriptionstatic <T> ReactiveSearchHits<T>
ReactiveSearchHitSupport.searchHitsFor
(SearchHits<T> searchHits) static <T> SearchPage<T>
SearchHitSupport.searchPageFor
(SearchHits<T> searchHits, Pageable pageable) Constructors in org.springframework.data.elasticsearch.core with parameters of type SearchHits