kevy

GEOSEARCHSTORE

Run GEOSEARCH on source and store the hits into destination.

语法GEOSEARCHSTORE destination source FROMMEMBER member|FROMLONLAT longitude latitude BYRADIUS radius m|km|mi|ft|BYBOX width height m|km|mi|ft [ASC|DESC] [COUNT count [ANY]] [STOREDIST]
分组geo
参数个数-5
起始版本1.0.0
标志write
复杂度O(log N + C) to search, plus O(D + K log K) to rewrite the destination on its own shard
Redis 兼容性differs: STOREDIST stores the distance in the unit the query asked for (Redis does the same); the destination is written on its own shard, so the source and destination may live on different cores and the write is not atomic with the read

← 全部命令