I have a list of places stored in Redis Sorted Set
ZADD PLACES 1 "The Clift Royal Sonesta Hotel"
Now, I want to make a case insensitive search on word "Royal". I use ZSCAN
for this as below:
ZSCAN LOCATION_TRENDING 0 MATCH "*royal*" COUNT 10
ZSCAN
works when I make search with "Royal" (letter R capital) but not with "royal" (letter r small).
How to make case insensitive ZSCAN match? Please guide. Thanks.
question from:
https://stackoverflow.com/questions/65832452/redis-zscan-match-case-insensitive-search 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…