Package org.springframework.data.elasticsearch.core
@NonNullApi
@NonNullFields
package org.springframework.data.elasticsearch.core
-
ClassDescriptionThis class contains methods that are common to different implementations of the
ElasticsearchOperations
interface that use different clients, like RestHighLevelClient and the next Java client from Elasticsearch or some external implementation that might use a different client.Base implementation ofIndexOperations
common to Transport and Rest based Implementations of IndexOperations.Base class keeping common code for implementations of theReactiveElasticsearchOperations
interface independent of the used client.Callback to convertDocument
into an entity of type TValue class to capture client independent information from a response to an index request.Callback to convert aSearchDocument
into different other classesClass corresponding to the Elasticsearch class, but in the org.springframework.data.elasticsearch packageAggregation container used in the Spring Data Elasticsearch API for a single aggregation.Aggregations container used in the Spring Data Elasticsearch API.The operations for the Elasticsearch Document APIs.ElasticsearchOperations.Common operations performed on an entity in the context of it's mapping metadata.Information and commands on an entity.Value class capturing information about a newly indexed document in Elasticsearch.Immutable object that holds information(name, settings, mappings, aliases) about an IndexThe operations for the Elasticsearch Index APIs.MultiGetItem<T>Response object for items returned from multiget requests, encapsulating the returned data and potential error information.Range<T>Deprecated, for removal: This API element is subject to removal in a future version.use {org.springframework.data.domain.Range} instead.Range.Bound<T>Value object representing a boundary.The reactive operations for the Elasticsearch Document APIs.Interface that specifies a basic set of Elasticsearch operations executed in a reactive way.ReactiveElasticsearchOperations.ClientCallback<T extends org.reactivestreams.Publisher<?>>Callback interface to be used withReactiveElasticsearchOperations.execute(ClientCallback)
for operating directly onReactiveElasticsearchClient
.ReactiveElasticsearchOperations.ClusterClientCallback<T extends org.reactivestreams.Publisher<?>>Callback interface to be used withReactiveElasticsearchOperations.executeWithClusterClient(ClusterClientCallback)
for operating directly onReactiveElasticsearchClient.Cluster
.ReactiveElasticsearchOperations.IndicesClientCallback<T extends org.reactivestreams.Publisher<?>>Callback interface to be used withReactiveElasticsearchOperations.executeWithIndicesClient(IndicesClientCallback)
for operating directly onReactiveElasticsearchClient.Indices
.Interface defining operations on indexes for the reactive stack.Utility to reactively readResource
s.Encapsulates a Flux ofSearchHit
s with additional information from the search.The reactive operations for the Elasticsearch Document APIs.Enum defining the refresh policy.Utility to readResource
s.Defines a runtime field to be added to a QueryDefine script types for update queries.SearchHit<T>Encapsulates the found data with additional information from the search.SearchHits<T>Encapsulates a list ofSearchHit
s with additional information from the search.Basic implementation ofSearchScrollHits
Utility class with helper methods for working withSearchHit
.The operations for the Elasticsearch Document APIs.SearchPage<T>Page definition for repositories that need to return a paged SearchHits.This interface is used to expose the currentscrollId
from the underlying scroll context.Enum to represent the relation that Elasticsearch returns for the totalHits value