GEOSEARCH
Search members within a radius or box from a member or coordinate.
GEOSEARCH key FROMMEMBER member|FROMLONLAT longitude latitude BYRADIUS radius m|km|mi|ft|BYBOX width height m|km|mi|ft [ASC|DESC] [COUNT count [ANY]] [WITHCOORD] [WITHDIST] [WITHHASH]
Complexity
O(N) per call — up to nine neighbour ranges, each fetched with a full zset scan; the geohash block prunes distance maths, not iteration
Complexity and compatibility are read out of kevy's implementation, not copied from Redis's reference. Several genuinely differ.
Redis compatibility
Differs
STOREDIST is accepted and ignored on the read-only form; COUNT 0 is an error
See also
GEOADDGEODISTGEOHASHGEOPOSGEORADIUSGEORADIUSBYMEMBERGEOSEARCHSTORE