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