Skip to content
This repository was archived by the owner on May 19, 2022. It is now read-only.

RediSearch/spring-redisearch

Folders and files

NameName
Last commit message
Last commit date

Latest commit

c3aadde · May 18, 2022
Apr 22, 2021
Mar 11, 2021
Oct 27, 2020
Apr 2, 2020
Feb 17, 2019
May 18, 2022
Apr 9, 2021
Apr 9, 2021
Jan 12, 2021
Jan 12, 2021
Oct 27, 2020

Repository files navigation

Spring RediSearch

License Latest Forums Discord

⚠️
Spring RediSearch has been merged into multi-module client LettuceMod. Updates will now happen in LettuceMod.

Spring RediSearch provides access to RediSearch from Spring applications

Usage

Add Spring RediSearch to your application dependencies, e.g. with Maven:

<dependency>
    <groupId>com.redislabs</groupId>
    <artifactId>spring-redisearch</artifactId>
    <version>x.y.z</version>
</dependency>

Inject and use RediSearchClient or StatefulRediSearchConnection:

public class Example {

    @Autowired
    StatefulRediSearchConnection<String, String> connection;

    public void testSearch() {
        connection.sync().search("music", "Lalo Schifrin");
    }

}