Skip to content

In this project I tried to implement eleasticsearch integration with Spring Boot application.

Notifications You must be signed in to change notification settings

phyex0/Java-Elasticsearch

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 

Repository files navigation

Java-Elasticsearch

In this project, I tried to run ElasticSearch as the primary database.

To run the application do the following commands:


1-) Install the docker.

2-) Run the "elasticsearch.yaml" file under the docker directory.

3-) Run the spring boot application.

4-) You can reach the endpoint by swagger from: "localhost:8080/swagger-ui.html"



I added a sample query to filter by date according to sample User & Order entities.

I also enabled the Virtual thread. This project runs Java 22.

There are some basic crud operations with rest.


To create custom queries => https://docs.spring.io/spring-data/elasticsearch/reference/elasticsearch/repositories/elasticsearch-repository-queries.html

About

In this project I tried to implement eleasticsearch integration with Spring Boot application.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages