redis-om-dotnet icon indicating copy to clipboard operation
redis-om-dotnet copied to clipboard

Linq ToList() unable to retrieve more than 10,000 items?

Open GorgonSlayer opened this issue 10 months ago • 1 comments

So I am attempting to pull more than 10,000 items into a list after loading them into a cache. Currently, Linq is unable to pull more than 10k items.

Processing Method

IRedisCollection<AmtxDetail> rawDetailCache = redisConnectionProvider.RedisCollection<AmtxDetail>();
IList<AmtxDetail> details = await rawDetailCache.ToListAsync();

What am I missing here?

GorgonSlayer avatar Feb 05 '25 09:02 GorgonSlayer

You are probably running into a MAXSEARCHRESULTS config setting: https://redis.io/docs/latest/develop/interact/search-and-query/basic-constructs/configuration-parameters/#maxsearchresults - how are you running Redis?

slorello89 avatar Feb 05 '25 12:02 slorello89