StackExchangeRedisCacheClient IEnumerable<string> SearchKeys(string pattern) is limited to db 0
var dbKeys = db.Multiplexer.GetServer(endpoint).Keys(pattern: pattern); so it is limited to int database = 0
You sure about that?
looking here the code is using the current istance of the db that is initialized into the constructor.
You should change with the right constructor (if you don't send the database id 0 is the default value)
The code you linked calls Keys method of RedisServer class which uses "database" parametr so no chance to use "Database" value of "db" object.
I hade to change the code in this way to make it work: var dbKeys = db.Multiplexer.GetServer(endpoint).Keys(database: db.Database, pattern: pattern);
Wthout this change always keys are retrived from database = 0.
fixed. Soon on nuget
On nuget now https://www.nuget.org/packages/StackExchange.Redis.Extensions.Core/1.1.13