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]
Complexity
O(N) to search, plus O(D + K log K) to rewrite the destination on its own shard
Complexity and compatibility are read out of kevy's implementation, not copied from Redis's reference. Several genuinely differ.
Redis compatibility
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
See also
GEOADDGEODISTGEOHASHGEOPOSGEORADIUSGEORADIUSBYMEMBERGEOSEARCH