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
ElasticsearchOperationsinterface that use different clients, like RestHighLevelClient and the next Java client from Elasticsearch or some future implementation that might use an Opensearch client.Base implementation ofIndexOperationscommon to Transport and Rest based Implementations of IndexOperations.Base class keeping common code for implementations of theReactiveElasticsearchOperationsinterface independent of the used client.Value class to capture client independent information from a response to an index request.Class 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.AggregationContainer implementation for an Elasticsearch7 aggregation.AggregationsContainer implementation for the Elasticsearch7 aggregations.SimplePersistenceExceptionTranslatorfor Elasticsearch.ElasticsearchOperations.ElasticsearchRestTemplateCallback interface to be used withElasticsearchRestTemplate.execute(ClientCallback)for operating directly onRestHighLevelClient.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>Simple value object to work with ranges and boundaries.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 readResources.Encapsulates a Flux ofSearchHits with additional information from the search.The reactive operations for the Elasticsearch Document APIs.Enum defining the refresh policy.Utility to readResources.Factory class to convert elasticsearch responses to different type of data classes.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 ofSearchHits with additional information from the search.Basic implementation ofSearchScrollHitsUtility class with helper methods for working withSearchHit.Utility class to prevent leaking of Lucene API into Spring Data Elasticsearch.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 currentscrollIdfrom the underlying scroll context.Enum to represent the relation that Elasticsearch returns for the totalHits value