How to get all created indexes names in NRediSearch (C# Client)?

23 views
Skip to first unread message

Vishal Patel

unread,
Jun 25, 2019, 3:00:44 AM6/25/19
to redisearch

is there any way to get all indexes name as a result using redis client (NRediSearch / StackExchange.Redis)?

I want to result of below command.

127.0.0.1:6379>keys idx:*


Meir Shpilraien

unread,
Jun 27, 2019, 1:19:34 AM6/27/19
to redisearch
I think this should work
foreach(var key in server.Keys(pattern: "idx*")) {
    Console.WriteLine(key);
}
Reply all
Reply to author
Forward
0 new messages