I went through many posts on SO. Key-Pattern-Search Get-All-Hashesh
I am having some different scenario. I have redis hash for my project. The structure is as follow:
Redis:
Key - H_SD_C_India
Field - Ameya_Deshpande_India
Value - JSON
What I need is to search all the documents which contains specific value in field. something like this
Where Field.Contains("Ameya*)
we are using StackExchange.Redis
in .Net and their methods to store and get data from redis cache.
There are few options suggested by members like HMSET
or HSCAN
or SCAN 0 TYPE hash
but these are inside CLI.
I tried below method to find data: but didn't get what I expected.
HashGetAsync("H_SD_C_India", "Ameya*");
Please suggest how to do wildcard search from .Net application using
StackExchange.Redis