redis實現字段查找的方法:
redis是不可以對值進行搜索的,只可以對鍵進行搜索,也可以對鍵進行正則匹配的,例如:“name_zhangapeit, name_zhangsan, name_zhangziya”,搜索姓張的命令:
get name_zhang*