xeraa/rag-with-java-springai-elasticsearch

Example of a RAG application using Spring AI, OpenAI and Elasticsearch as a vector database

25
/ 100
Experimental

Demonstrates RAG implementation with Spring AI's abstraction layer for LLM integration, using Elasticsearch's native vector search capabilities for semantic document retrieval. The application showcases end-to-end configuration including OpenAI embeddings generation, Elasticsearch vector indexing, and retrieval-augmented query handling within a Spring Boot environment. Targets Java developers leveraging JDK 21+ and provides production-ready patterns for integrating enterprise search infrastructure with generative AI workflows.

No License No Package No Dependents
Maintenance 10 / 25
Adoption 4 / 25
Maturity 1 / 25
Community 10 / 25

How are scores calculated?

Stars

6

Forks

1

Language

Java

License

Last pushed

Feb 02, 2026

Commits (30d)

0

Get this data via API

curl "https://pt-edge.onrender.com/api/v1/quality/vector-db/xeraa/rag-with-java-springai-elasticsearch"

Open to everyone — 100 requests/day, no key needed. Get a free key for 1,000/day.