'How to get all the documents from an index in Redisearch?
I am using RediSearch and storing the data in an Index through documents. I want to get all the documents from the Index, please suggest.
Solution 1:[1]
This is half of an answer but perhaps it will spark a solution for you.
I can't speak to the Spring Data Redis part—not my jam—but in RediSearch itself you can get all the documents in the index by simply passing *
as your query:
> FT.SEARCH my:index *
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
Solution | Source |
---|---|
Solution 1 | Guy Royse |