The goal of this application is to show how to develop a RediSearch application with Java.
This project is a Spring Boot application.
This application uses JRediSearch that is based on Jedis.
This application exposes various endpoint that are directly consumable in a front end.
You can run build and run the application from docker using the following commands:
Build
> docker build -t redis/search-backend-java .
This command will create a new image and build the maven project into it.
Run
> docker run --rm \
--env "REDIS_URL=redis://redis-stack:6379" \
--env "REDIS_INDEX=idx:movie" \
--name "redisearch-backend-java"\
-p 8085:8085 redis/redis-stack:latest
You can now access the REST Search service using the following URL: