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

Commit b2f4cdf

Browse files
committed
moved to asciidoc
1 parent b081633 commit b2f4cdf

File tree

2 files changed

+39
-39
lines changed

2 files changed

+39
-39
lines changed

README.adoc

Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
= Spring RediSearch
2+
3+
ifdef::badges[]
4+
image:https://img.shields.io/github/license/RediSearch/spring-redisearch.svg["License", link="https://github.com/RediSearch/spring-redisearch"]
5+
image:https://img.shields.io/github/release/RediSearch/spring-redisearch.svg["Latest", link="https://github.com/RediSearch/spring-redisearch/releases/latest"]
6+
endif::[]
7+
8+
image:https://img.shields.io/badge/Forum-RediSearch-blue["Forums", link="https://forum.redislabs.com/c/modules/redisearch/"]
9+
image:https://img.shields.io/discord/697882427875393627?style=flat-square["Discord", link="https://discord.gg/xTbqgTB"]
10+
11+
Spring RediSearch provides access to RediSearch from Spring applications
12+
13+
== Usage
14+
15+
Add Spring RediSearch to your application dependencies, e.g. with Maven:
16+
17+
```
18+
<dependency>
19+
<groupId>com.redislabs</groupId>
20+
<artifactId>spring-redisearch</artifactId>
21+
<version>x.y.z</version>
22+
</dependency>
23+
```
24+
25+
Inject and use RediSearchClient or StatefulRediSearchConnection:
26+
27+
[source,java]
28+
----
29+
public class Example {
30+
31+
@Autowired
32+
StatefulRediSearchConnection<String, String> connection;
33+
34+
public void testSearch() {
35+
connection.sync().search("music", "Lalo Schifrin");
36+
}
37+
38+
}
39+
----

README.md

Lines changed: 0 additions & 39 deletions
This file was deleted.

0 commit comments

Comments
 (0)