Spring RediSearch
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");
}
}