--+ geoadd country:city 经度 纬度 cityName... --查询两城市之间的距离 geopos country:cityName1 cityName2 [km,m,mi,ft](单位) --查询给定的维度为中心,找出在半径R范围内的元素 GEoradius country:city 经度 纬度 R [km,m,mi,ft](单位) [count num]限制查询个数 --以给定的城市为中心 找出在半径R范围内的元素 GEoradiusByMember country:city cityName R [km,m,mi,ft](单位) --将二维的经纬度转化为一维的字符串 Geohash country:city cityName...
--添加 PFadd key value1 value2... --不重复的数组 --合并 key1 和 key2 到key3去 PFmerge key3 key1 key2 --查询数量 PFcount key
--添加 Setbit key index 0/1 --取出 Getbit key index --统计 BitCount key [start-end](筛选条件)
原文:https://www.cnblogs.com/yuners/p/14321285.html