18 questions
0
votes
0
answers
63
views
How to get access to field of nested reference in Redis Document from autogenerate metamodel
I am using redis-om-spring:1.0.4 with spring boot 3.4.10 for getting @Document support.
I have some class like
@Setter
@Getter
class Vehicle {
@Id
private String id;
...
0
votes
1
answer
112
views
How to fetch only specific fields from Redis JSON using projections in Spring Boot ? Current approach return nulls
I’m using Redis OM Spring with Kotlin to store documents in Redis as JSON.
Here’s a simplified version of my document:
@Document(value = "Marker", indexName = "MarkerIdx")
data ...
1
vote
2
answers
228
views
Spring Data Redis OM: How to fetch selective fields? Instead of entire JSON
I’m using Spring Data Redis OM with Kotlin and want to fetch only specific fields of a document instead of the entire object. I have a Flight document and a repository set up, and I’m trying to use ...
1
vote
0
answers
68
views
Why does findByTypeNotIn in Redis OM Spring generate the same RediSearch query as findByTypeIn?
I’m using Redis OM Spring with a simple repository:
@Document(value = "Marker", indexName = "MarkerIdx")
data class RedisMarker(
//other indexed
@Indexed
...
0
votes
1
answer
69
views
How to query Redis OM Spring repository by LocalDate(Kotlin) field?
I’m working on a Kotlin project using Redis OM Spring and I have a Redis document class representing train markers:
import com.redis.om.spring.annotations.Document
import com.redis.om.spring....
1
vote
1
answer
168
views
Do I need both Jedis and Lettuce connection factories in Spring Boot with Redis OM?
I'm using Spring Boot with Redis for caching and Redis OM Spring for document operations. My current configuration has both JedisConnectionFactory and LettuceConnectionFactory, but I'm getting startup ...
0
votes
2
answers
108
views
Redis command times increase over time on same load
On redis I have around 1.2M json documents,
1st namespace: com.test.api.redis.model.document.PRedis:* around 700K
json keys
2nd nemespace: com.test.api.redis.model.document.SRedis:*
around 550K json ...
0
votes
1
answer
101
views
Spring redis OM unable to resolve
I have a spring 3.1 and java 21 gradle project and am trying to add this dependency
my repositories are defined in gradle as follows:
mavenCentral()
mavenLocal()
maven {
url = uri("https://...
0
votes
1
answer
150
views
Redis OM Spring doesn't return FT.SEARCH results even it exists
I have a data model created with Redis-OM-Spring as follows:
@Data
@Document
public class RedisOAuth2Authorization implements Serializable {
@Indexed
@NonNull
@Id
private String id;
...
1
vote
1
answer
2k
views
Caused by: redis.clients.jedis.exceptions.JedisDataException: ERR unknown command 'JSON.SET'
I am using redis-om and Java, I get Caused by: redis.clients.jedis.exceptions.JedisDataException: ERR unknown command 'JSON.SET'
Here is the code that I am using:
@SpringBootApplication
@Configuration
...
0
votes
1
answer
340
views
RediSearch fails to aggregate when 1kk+ keys
when i do the aggregation for 1 day the result is returned here is an example query
FT.AGGREGATE myIndex '@date:[1632776400000 1632862800000]' GROUPBY 1 @name REDUCE COUNT 0 AS count SORTBY 2 @count ...
0
votes
1
answer
609
views
Redis-om-spring+springboot3+jdk 17 giving this err "beans.factory.NoSuchBeanDefinitionException: No bean named 'redisJSONKeyValueTemplate' available
I am facing a strange issue while running this this example https://github.com/redis-developer/redis-om-spring-skeleton-app . I am using Redis-om-spring+springboot3+jdk 17 . Project is building fine ...
0
votes
1
answer
196
views
Redis OM Spring - Gradle issue: not generating meta classes "com.redis.om.skeleton.models.Person$
I am trying to use gradle for this project https://redis.io/docs/stack/get-started/tutorials/stack-spring/. My build.gradle is this one:
plugins {
id 'java'
id 'org.springframework.boot' version '3.0....
0
votes
2
answers
661
views
How to search for text and filter?
UPDATE: This is fixed in 0.8.0
I am trying to search for filter by an indexed field and search for free text inside my objects. It seems that it is searching for the company name or the search term. ...
0
votes
1
answer
965
views
Is there a way to search all fields with redis-om-spring using the EntityStream API?
In redis-om-spring I can search all fields by simply adding a search method to the repository.
public interface ProductRepository extends RedisDocumentRepository<Product, String> {
Page<...