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.
-
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.core
Subinterfaces of SearchHits in org.springframework.data.elasticsearch.coreModifier and TypeInterfaceDescriptioninterfaceThis interface is used to expose the currentscrollIdfrom 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 theSearchHitsfor 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 asSearchHitsMethods 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 asListofSearchHits.<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 asListofSearchHits.List<SearchHits<?>>SearchOperations.multiSearch(List<? extends Query> queries, List<Class<?>> classes) Execute the multi search query against elasticsearch and return result asListofSearchHits.List<SearchHits<?>>SearchOperations.multiSearch(List<? extends Query> queries, List<Class<?>> classes, List<IndexCoordinates> indexes) Execute the multi search query against elasticsearch and return result asListofSearchHits.List<SearchHits<?>>SearchOperations.multiSearch(List<? extends Query> queries, List<Class<?>> classes, IndexCoordinates index) Execute the multi search query against elasticsearch and return result asListofSearchHits.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