kevy4.0

GEORADIUS

Legacy radius search around a coordinate, with optional STORE writes.

GEORADIUS key longitude latitude radius m|km|mi|ft [WITHCOORD] [WITHDIST] [WITHHASH] [COUNT count [ANY]] [ASC|DESC] [STORE key] [STOREDIST key]
Group
Geo
Since
1.0.0
Arity
at least 6
Flags
write

Complexity

O(N) per call; STORE / STOREDIST add O(K log K) to write plus O(D) to clear the destination

Complexity and compatibility are read out of kevy's implementation, not copied from Redis's reference. Several genuinely differ.

Redis compatibility

Differs

the destination is written on its own shard, so a STORE across shards is not atomic with the search

See also

GEOADDGEODISTGEOHASHGEOPOSGEORADIUSBYMEMBERGEOSEARCHGEOSEARCHSTORE

← All commands