Vigneshwaran
Vigneshwaran

Reputation: 852

How to store Json in Redis using Java and Query like Elasticserach

I need to insert some Json document in Redis and Query it like Elastic search or MongoDB, How can I implement that in java

Upvotes: 1

Views: 652

Answers (2)

Moshe Arad
Moshe Arad

Reputation: 3733

I'm using Spring Data to interact with Redis + I convert POJOs from/into JSON String using Jackson.

Upvotes: 1

Itamar Haber
Itamar Haber

Reputation: 50022

Currently the best way to do that is to combine the functionality of RediSearch and ReJSON using application-side logic. In the near future, these two modules will be integrated.

Disclaimer: ReJSON's author here, my employer is Redis Labs.

Upvotes: 1

Related Questions