You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
|[![Project stage][badge-stage]][badge-stage-page]|[![Releases][badge-releases]][link-releases]|[![Snapshots][badge-snapshots]][link-snapshots]|[](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]|
|[![Project stage][badge-stage]][badge-stage-page]|[![Releases][badge-releases]][link-releases]|[![Snapshots][badge-snapshots]][link-snapshots]|[](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]|
This **preview** release provides all Spring Data Redis, plus:
73
73
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`:
76
76
- uses Redis' native search engine (RediSearch) for secondary indexing
77
77
- 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
79
79
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
84
84
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/))
87
87
88
88
### 📋 Version Requirements
89
89
@@ -101,11 +101,13 @@ Redis OM Spring has the following version requirements:
101
101
#### Spring Boot Version Compatibility Policy
102
102
103
103
Redis OM Spring follows an **N-2 support policy** for Spring Boot versions:
104
+
104
105
- We build with the latest stable Spring Boot version
105
106
- We support the current version and two previous minor versions that are still receiving OSS updates
106
107
- We upgrade Spring Boot with each Redis OM Spring release
107
108
108
109
For example, as of Redis OM Spring 1.0.0-RC4:
110
+
109
111
-**Built with**: Spring Boot 3.4.5
110
112
-**Minimum supported**: Spring Boot 3.3.x
111
113
-**Recommended**: Spring Boot 3.4.x or 3.5.x
@@ -399,19 +401,19 @@ write queries by using store-specific query languages at all.
399
401
400
402
The Query by Example API consists of four parts:
401
403
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
404
406
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
407
409
derived from an `Example`.
408
410
Using the fluent API lets you specify ordering projection and result processing for your query.
409
411
410
412
Query by Example is well suited for several use cases:
411
413
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.
415
417
416
418
For example, if you have an `@Document` or `@RedisHash` annotated entity you can create an instance, partially populate
417
419
its
@@ -446,8 +448,8 @@ This process publishes both `redis-om-spring` and `redis-om-spring-ai` modules t
446
448
447
449
> ⚠️ Starting from version `v1.0.0-RC.1`, Redis OM Spring has been divided into two separate modules:
448
450
>
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.
451
453
452
454
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:
453
455
@@ -563,6 +565,7 @@ dependencies {
563
565
## 📚 Documentation
564
566
565
567
The Redis OM Spring documentation is available at:
568
+
566
569
-[Local Documentation](docs/index.md)
567
570
-[Online Documentation](https://redis.github.io/redis-om-spring/) (Generated from the main branch)
568
571
@@ -609,16 +612,16 @@ These can be found in the `/demos` folder:
0 commit comments