Skip to content

Commit 69fb2a0

Browse files
committed
docs: format README, added link to official docs
1 parent a1a8d7f commit 69fb2a0

File tree

1 file changed

+29
-49
lines changed

1 file changed

+29
-49
lines changed

README.md

Lines changed: 29 additions & 49 deletions
Original file line numberDiff line numberDiff line change
@@ -11,11 +11,11 @@
1111
---
1212

1313
**Redis OM Spring** extends [Spring Data Redis](https://spring.io/projects/spring-data-redis) to take full advantage of
14-
Redis and [Redis Stack](https://redis.io/docs/stack/).
14+
[Redis](https://redis.io/). Read the Official Docs 📕 here 👉🏽 [Redis OM Spring](https://redis.github.io/redis-om-spring/)
1515

16-
| Stage | Release | Snapshot | Coverage | Issues | Resolution | Code QL | License |
17-
|---------------------------------------------------|----------------------------------------------|-------------------------------------------------|------------------------------------------------------------------------------------------------------------------------------------------|----------------------------------------------------------------------|---------------------------------------------------------------------------------|----------------------------------------------|------------------------------------------|
18-
| [![Project stage][badge-stage]][badge-stage-page] | [![Releases][badge-releases]][link-releases] | [![Snapshots][badge-snapshots]][link-snapshots] | [![codecov](https://codecov.io/gh/redis/redis-om-spring/graph/badge.svg?token=MBI8WSDM37)](https://codecov.io/gh/redis/redis-om-spring) | [![Percentage of issues still open][badge-open-issues]][open-issues] | [![Average time to resolve an issue][badge-issue-resolution]][issue-resolution] | [![CodeQL][badge-codeql]][badge-codeql-page] | [![License][license-image]][license-url] |
16+
| Stage | Release | Snapshot | Coverage | Issues | Resolution | License |
17+
|---------------------------------------------------|----------------------------------------------|-------------------------------------------------|------------------------------------------------------------------------------------------------------------------------------------------|----------------------------------------------------------------------|---------------------------------------------------------------------------------|------------------------------------------|
18+
| [![Project stage][badge-stage]][badge-stage-page] | [![Releases][badge-releases]][link-releases] | [![Snapshots][badge-snapshots]][link-snapshots] | [![codecov](https://codecov.io/gh/redis/redis-om-spring/graph/badge.svg?token=MBI8WSDM37)](https://codecov.io/gh/redis/redis-om-spring) | [![Percentage of issues still open][badge-open-issues]][open-issues] | [![Average time to resolve an issue][badge-issue-resolution]][issue-resolution] | [![License][license-image]][license-url] |
1919

2020
Learn / Discuss / Collaborate
2121

@@ -71,19 +71,19 @@ Redis ([SDR](https://spring.io/projects/spring-data-redis)) framework.
7171

7272
This **preview** release provides all Spring Data Redis, plus:
7373

74-
* `@Document` annotation to map Spring Data models to Redis JSON documents
75-
* Enhancement to the Spring Data Redis `@RedisHash` via `@EnableRedisEnhancedRepositories`:
74+
- `@Document` annotation to map Spring Data models to Redis JSON documents
75+
- Enhancement to the Spring Data Redis `@RedisHash` via `@EnableRedisEnhancedRepositories`:
7676
- uses Redis' native search engine (RediSearch) for secondary indexing
7777
- uses [ULID](https://github.com/ulid/spec) for `@Id` annotated fields
78-
* `RedisDocumentRepository` with automatic implementation of Repository interfaces for complex querying capabilities
78+
- `RedisDocumentRepository` with automatic implementation of Repository interfaces for complex querying capabilities
7979
using `@EnableRedisDocumentRepositories`
80-
* Declarative search indexes via `@Indexed`
81-
* Full-text search indexes via `@Searchable`
82-
* `EntityStream`s: Streams-based Query and Aggregations Builder
83-
* `@Bloom` annotation to determine very fast, with and with high degree of certainty, whether a value is in a
80+
- Declarative search indexes via `@Indexed`
81+
- Full-text search indexes via `@Searchable`
82+
- `EntityStream`s: Streams-based Query and Aggregations Builder
83+
- `@Bloom` annotation to determine very fast, with and with high degree of certainty, whether a value is in a
8484
collection.
85-
* `@Vectorize` annotation to generate embeddings for text and images for use in Vector Similarity Searches
86-
* Vector Similarity Search API (See [Redis Stack Vectors](https://redis.io/docs/stack/search/reference/vectors/))
85+
- `@Vectorize` annotation to generate embeddings for text and images for use in Vector Similarity Searches
86+
- Vector Similarity Search API (See [Redis Stack Vectors](https://redis.io/docs/stack/search/reference/vectors/))
8787

8888
### 📋 Version Requirements
8989

@@ -101,11 +101,13 @@ Redis OM Spring has the following version requirements:
101101
#### Spring Boot Version Compatibility Policy
102102

103103
Redis OM Spring follows an **N-2 support policy** for Spring Boot versions:
104+
104105
- We build with the latest stable Spring Boot version
105106
- We support the current version and two previous minor versions that are still receiving OSS updates
106107
- We upgrade Spring Boot with each Redis OM Spring release
107108

108109
For example, as of Redis OM Spring 1.0.0-RC4:
110+
109111
- **Built with**: Spring Boot 3.4.5
110112
- **Minimum supported**: Spring Boot 3.3.x
111113
- **Recommended**: Spring Boot 3.4.x or 3.5.x
@@ -399,19 +401,19 @@ write queries by using store-specific query languages at all.
399401

400402
The Query by Example API consists of four parts:
401403

402-
* **Probe**: The actual example of a domain object with populated fields.
403-
* **ExampleMatcher**: The `ExampleMatcher` carries details on how to match particular fields. It can be reused across
404+
- **Probe**: The actual example of a domain object with populated fields.
405+
- **ExampleMatcher**: The `ExampleMatcher` carries details on how to match particular fields. It can be reused across
404406
multiple `Examples`.
405-
* **Example**: An Example consists of the probe and the ExampleMatcher. It is used to create the query.
406-
* **FetchableFluentQuery**: A `FetchableFluentQuery` offers a fluent API, that allows further customization of a query
407+
- **Example**: An Example consists of the probe and the ExampleMatcher. It is used to create the query.
408+
- **FetchableFluentQuery**: A `FetchableFluentQuery` offers a fluent API, that allows further customization of a query
407409
derived from an `Example`.
408410
Using the fluent API lets you specify ordering projection and result processing for your query.
409411

410412
Query by Example is well suited for several use cases:
411413

412-
* Querying your data store with a set of static or dynamic constraints.
413-
* Frequent refactoring of the domain objects without worrying about breaking existing queries.
414-
* Working independently of the underlying data store API.
414+
- Querying your data store with a set of static or dynamic constraints.
415+
- Frequent refactoring of the domain objects without worrying about breaking existing queries.
416+
- Working independently of the underlying data store API.
415417

416418
For example, if you have an `@Document` or `@RedisHash` annotated entity you can create an instance, partially populate
417419
its
@@ -446,8 +448,8 @@ This process publishes both `redis-om-spring` and `redis-om-spring-ai` modules t
446448

447449
> ⚠️ Starting from version `v1.0.0-RC.1`, Redis OM Spring has been divided into two separate modules:
448450
>
449-
> * **Redis OM Spring** – providing modeling and vector indexing capabilities;
450-
> * **Redis OM Spring AI** – introducing AI capabilities, powered by Spring AI, to automatically generate vector embeddings using popular providers like OpenAI, Azure, Ollama, VertexAI, and more.
451+
> - **Redis OM Spring** – providing modeling and vector indexing capabilities;
452+
> - **Redis OM Spring AI** – introducing AI capabilities, powered by Spring AI, to automatically generate vector embeddings using popular providers like OpenAI, Azure, Ollama, VertexAI, and more.
451453
452454
To use **Redis OM** for modeling your domain objects, indexing them, and enabling both querying and Vector Similarity Search features, simply include the dependency for **Redis OM Spring** as shown below:
453455

@@ -563,6 +565,7 @@ dependencies {
563565
## 📚 Documentation
564566

565567
The Redis OM Spring documentation is available at:
568+
566569
- [Local Documentation](docs/index.md)
567570
- [Online Documentation](https://redis.github.io/redis-om-spring/) (Generated from the main branch)
568571

@@ -609,16 +612,16 @@ These can be found in the `/demos` folder:
609612

610613
- **redis-om-spring-skeleton-app**:
611614
- Redis OM Spring Skeleton App
612-
- Repo: https://github.com/redis-developer/redis-om-spring-skeleton-app
615+
- Repo: <https://github.com/redis-developer/redis-om-spring-skeleton-app>
613616

614617
- **redis-om-spring-react-todomvc**:
615618
- Redis OM Spring to build a RESTful API that satisfies the simple web API spec set by
616619
the Todo-Backend project using JSON Documents stored in Redis.
617-
- Repo: https://github.com/redis-developer/redis-om-spring-react-todomvc
620+
- Repo: <https://github.com/redis-developer/redis-om-spring-react-todomvc>
618621

619622
- **redis-om-autocomplete-demo**:
620623
- A Spring Boot demo of autocomplete functionality using Redis OM Spring.
621-
- Repo: https://github.com/redis-developer/redis-om-autocomplete-demo
624+
- Repo: <https://github.com/redis-developer/redis-om-autocomplete-demo>
622625

623626
## ⛏️ Troubleshooting
624627

@@ -661,6 +664,7 @@ This will automatically reformat your code to match the project's style. You can
661664
```
662665

663666
The main formatting rules include:
667+
664668
- 2-space indentation (not 4)
665669
- KNR brace style (braces at end of line)
666670
- Maximum line length of 120 characters
@@ -678,8 +682,6 @@ Redis OM uses the [MIT license][license-url].
678682

679683
<!-- Badges / Shields -->
680684

681-
[ci-url]: https://github.com/redis-developer/redis-om-spring/actions/workflows/ci.yml
682-
683685
[badge-stage]: https://img.shields.io/badge/Project%20Stage-Development-green.svg
684686

685687
[badge-stage-page]: https://github.com/redis/redis-om-spring/wiki/Project-Stages
@@ -692,16 +694,10 @@ Redis OM uses the [MIT license][license-url].
692694

693695
[badge-issue-resolution]: http://isitmaintained.com/badge/resolution/redis/redis-om-spring.svg
694696

695-
[badge-codeql]: https://github.com/redis/redis-om-spring/actions/workflows/codeql-analysis.yml/badge.svg
696-
697-
[badge-codeql-page]: https://github.com/redis/redis-om-spring/actions/workflows/codeql-analysis.yml
698-
699697
[license-image]: https://img.shields.io/github/license/redis/redis-om-spring
700698

701699
[license-url]: LICENSE
702700

703-
[sdr-badge-releases]: https://img.shields.io/maven-central/v/org.springframework.data/spring-data-redis/3.1.2
704-
705701
[discord-shield]: https://img.shields.io/discord/697882427875393627?style=social&logo=discord
706702

707703
[twitch-shield]: https://img.shields.io/twitch/status/redisinc?style=social
@@ -712,20 +708,10 @@ Redis OM uses the [MIT license][license-url].
712708

713709
<!-- Links -->
714710

715-
[redis-om-website]: https://developer.redis.com
716-
717-
[redis-om-python]: https://github.com/redis-om/redis-om-python
718-
719-
[redis-om-js]: https://github.com/redis-om/redis-om-js
720-
721-
[redis-om-dotnet]: https://github.com/redis-om/redis-om-dotnet
722-
723711
[redisearch-url]: https://redis.io/search/
724712

725713
[redis-json-url]: https://redis.io/json/
726714

727-
[ulid-url]: https://github.com/ulid/spec
728-
729715
[redis-enterprise-url]: https://redis.com/try-free/
730716

731717
[link-snapshots]: https://s01.oss.sonatype.org/content/repositories/snapshots/com/redis/om/redis-om-spring/
@@ -738,16 +724,10 @@ Redis OM uses the [MIT license][license-url].
738724

739725
[redisearch-json]: https://github.com/redislabs-training/mod-devcap-redisjson-getting-started/blob/master/articles/QuickStart-RediSearchWithJSON.md
740726

741-
[sdr-link-releases]: https://repo1.maven.org/maven2/org/springframework/data/spring-data-redis/3.0.1/
742-
743727
[discord-url]: http://discord.gg/redis
744728

745729
[twitch-url]: https://www.twitch.tv/redisinc
746730

747731
[twitter-url]: https://twitter.com/redisinc
748732

749733
[youtube-url]: https://www.youtube.com/redisinc
750-
751-
752-
753-

0 commit comments

Comments
 (0)