Skip to content

Latest commit

 

History

History

redisearch-jedis-rest

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

RediSearch REST Server: Java with Jedis

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.

Running the application in Docker

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: