# spring-projects/spring-data-elasticsearch

Provide support to increase developer productivity in Java when using Elasticsearch. Uses familiar Spring concepts such as a template classes for core API usage and lightweight repository style data access.

Repository: https://github.com/spring-projects/spring-data-elasticsearch
Canonical: https://ross.abutalabs.com/products/spring-data-elasticsearch
Homepage: https://spring.io/projects/spring-data-elasticsearch/
Language: Java
License: Apache-2.0
License Family: permissive
Last push: 2026-08-22T15:47:35+00:00

## Health v2 (maintenance only)
Score: 99/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 99, release rhythm 98, longevity 100
- inputs: {"age_days": 4874, "days_push": 11, "days_rel": 12, "gap_med": 0.0, "n_releases_24m": 51}
- flags: no_readme
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 2961, forks 1339 (observed 2026-08-28T04:07:32.355626+00:00)

## What it is
Spring Data Elasticsearch is part of the Spring Data umbrella, providing a familiar Spring-based programming model for Elasticsearch. It offers template classes, annotation-driven object mapping, and repository-style data access for Elasticsearch documents.

## Use cases
- integrate elasticsearch into a spring boot application
- map java pojos to elasticsearch documents
- write repository interfaces for elasticsearch queries
- use reactive elasticsearch clients in spring
- run custom elasticsearch queries from spring repositories
- configure elasticsearch http clients in spring

## When to choose
- you are building a Spring or Spring Boot application backed by Elasticsearch
- you want repository-style data access and POJO mapping instead of raw Elasticsearch clients
- you need reactive Elasticsearch support in a Spring WebFlux app

## When to avoid
- you are not using the Spring ecosystem
- you need direct, low-level control over the Elasticsearch REST API
- you use a different search engine such as OpenSearch without compatibility checks

## Facets
- artifact type: library
- maturity: active
- function: database-driver, orm, search-engine, http-client
- domain: databases, backend, developer-tools
- platform: jvm
- tags: spring-data, elasticsearch, repository-pattern, object-mapping, reactive, search

## Member repositories
- spring-projects/spring-data-elasticsearch (main) score 99

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:07:32.355626+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T07:32:09.720270+00:00, confidence not recorded.
  - homepage: https://spring.io/projects/spring-data-elasticsearch/ (fetched 2026-08-29T09:47:25.807010+00:00, sha e62df774d212)
  - site_page: https://spring.io/quickstart (fetched 2026-08-29T09:47:25.818762+00:00, sha fc64dd950363)
  - site_page: https://spring.io/projects/spring-restdocs (fetched 2026-08-29T09:47:25.823118+00:00, sha 1e2a101b77d3)
  - site_page: https://enterprise.spring.io (fetched 2026-08-29T09:47:25.816150+00:00, sha 85ac7d6d5114)
  - site_page: https://enterprise.spring.io/lts-releases (fetched 2026-08-29T09:47:25.820903+00:00, sha 3251cc8760b6)
- Data as of 2026-08-30T08:39:29.467469+00:00.
