Skip to content
Provides support for RediSearch in Spring
Branch: master
Clone or download
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.circleci add nightly Mar 7, 2019
src/main/java/com/redislabs/springredisearch
.circleci.settings.xml add CI Feb 17, 2019
.gitignore
LICENSE add license Feb 17, 2019
README.md Update README.md Mar 1, 2019
pom.xml [maven-release-plugin] prepare for next development iteration Apr 23, 2019

README.md

license Maven Central Javadocs CircleCI GitHub issues

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>1.1.1</version>
</dependency>

Inject and use RediSearchClient or StatefulRediSearchConnection:

public class Example {

	@Autowired
	StatefulRediSearchConnection<String, String> connection;

	public void testSearch() {
		connection.sync().search("myIndex", "Lalo Schifrin", SearchOptions.builder().build());
	}

}
You can’t perform that action at this time.