Questions tagged [redis-om-spring]

9 questions
1
vote
2 answers

Returning only the first 10 record - Redis OM

I’m using Redis OM for spring boot, I am having trouble querying objects because it only returns the first 10 records. Repository Class: public interface RedisBillerRepository extends RedisDocumentRepository { List
0
votes
1 answer

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 DESC MAX 10 but if you remove the…
Alexus
  • 21
  • 2
0
votes
0 answers

How to generate Redis nested keys using Redis OM .NET?

I am trying to save in a Redis Stack database some data by using nested keys. So, the final key should look something like that: football:premier_league:arsenal-chelsea football:seria_a:inter-napoli I will use the OM Modeling, so I will have a…
Adnand
  • 562
  • 1
  • 8
  • 25
0
votes
1 answer

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 while running the spring boot application…
Sukh
  • 424
  • 5
  • 16
0
votes
1 answer

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.2' id 'io.spring.dependency-management' version…
Sukh
  • 424
  • 5
  • 16
0
votes
2 answers

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. How do I make this an and for…
rjdkolb
  • 10,377
  • 11
  • 69
  • 89
0
votes
1 answer

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 { Page search(String text, Pageable pageable); } When…
rjdkolb
  • 10,377
  • 11
  • 69
  • 89
0
votes
1 answer

How do I search for a nested @Indexed key in Redis redis-om-spring?

I am trying to search for a nested @Indexed field using redis-om-spring For some reason a find returns expected 1 entry for level 1, but returns unexpected 0 entries for level 2. I am not sure if I can only search one level deep or if I am making a…
rjdkolb
  • 10,377
  • 11
  • 69
  • 89
0
votes
1 answer

Unable to insert records into redis using redis-om-spring library

Please help me on the below scenario. I have redis docker container running in redis://default:redispw@localhost:49153 and I'm trying to execute the code from below repository with appropriate…
Sankar
  • 39
  • 2
  • 9