Class AbstractElasticsearchTemplate

java.lang.Object
org.springframework.data.elasticsearch.core.AbstractElasticsearchTemplate
All Implemented Interfaces:
Aware, ApplicationContextAware, DocumentOperations, ElasticsearchOperations, SearchOperations
Direct Known Subclasses:
ElasticsearchRestTemplate, ElasticsearchTemplate

public abstract class AbstractElasticsearchTemplate extends Object implements ElasticsearchOperations, ApplicationContextAware
This 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 future implementation that might use an Opensearch client. This class must not contain imports or use classes that are specific to one of these implementations.

Note: Although this class is public, it is not considered to be part of the official Spring Data Elasticsearch API and so might change at any time.

Author:
Sascha Woo, Peter-Josef Meisch, Roman Puchkovskiy, Subhobrata Dey, Steven Pearce, Anton Naydenov