# spring-redisearch
**Repository Path**: fufu669/spring-redisearch
## Basic Information
- **Project Name**: spring-redisearch
- **Description**: No description available
- **Primary Language**: Unknown
- **License**: Apache-2.0
- **Default Branch**: master
- **Homepage**: None
- **GVP Project**: No
## Statistics
- **Stars**: 0
- **Forks**: 0
- **Created**: 2021-12-30
- **Last Updated**: 2021-12-30
## Categories & Tags
**Categories**: Uncategorized
**Tags**: None
## README
= Spring RediSearch
ifdef::env-github[]
:badges:
:tag: master
:!toc-title:
:tip-caption: :bulb:
:note-caption: :paperclip:
:important-caption: :heavy_exclamation_mark:
:caution-caption: :fire:
:warning-caption: :warning:
endif::[]
// Badges
ifdef::badges[]
image:https://img.shields.io/github/license/RediSearch/spring-redisearch.svg["License", link="https://github.com/RediSearch/spring-redisearch"]
image:https://img.shields.io/github/release/RediSearch/spring-redisearch.svg["Latest", link="https://github.com/RediSearch/spring-redisearch/releases/latest"]
image:https://img.shields.io/badge/Forum-RediSearch-blue["Forums", link="https://forum.redislabs.com/c/modules/redisearch/"]
image:https://img.shields.io/discord/697882427875393627?style=flat-square["Discord", link="https://discord.gg/xTbqgTB"]
endif::[]
Spring RediSearch provides access to RediSearch from Spring applications
== Usage
Add Spring RediSearch to your application dependencies, e.g. with Maven:
```
com.redislabs
spring-redisearch
x.y.z
```
Inject and use RediSearchClient or StatefulRediSearchConnection:
[source,java]
----
public class Example {
@Autowired
StatefulRediSearchConnection connection;
public void testSearch() {
connection.sync().search("music", "Lalo Schifrin");
}
}
----