Spring Data Elasticsearch
Spring Data for Elasticsearch is part of the umbrella Spring Data project which aims to provide a familiar and consistent Spring-based programming model for for new datastores while retaining store-specific features and capabilities.
The Spring Data Elasticsearch project provides integration with the Elasticsearch search engine. Key functional areas of Spring Data Elasticsearch are a POJO centric model for interacting with a Elastichsearch Documents and easily writing a Repository style data access layer.
Features
-
Spring configuration support using Java based
@Configuration
classes or an XML namespace for a ES clients instances. -
ElasticsearchTemplate
helper class that increases productivity performing common ES operations. Includes integrated object mapping between documents and POJOs. -
Feature Rich Object Mapping integrated with Spring’s Conversion Service
-
Annotation based mapping metadata but extensible to support other metadata formats
-
Automatic implementation of
Repository
interfaces including support for custom finder methods. -
CDI support for repositories
Quickstart Your Project
Documentation
4.2.0 CURRENT GA | Reference Doc. | API Doc. |
4.2.1-SNAPSHOT SNAPSHOT | ||
4.1.9-SNAPSHOT SNAPSHOT | ||
4.1.8 GA | Reference Doc. | API Doc. |
4.0.10.BUILD-SNAPSHOT SNAPSHOT | ||
4.0.9.RELEASE GA | Reference Doc. | API Doc. |