kevy

GEOSEARCH

Search members within a radius or box from a member or coordinate.

SyntaxGEOSEARCH 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]
Groupgeo
Arity-4
Since1.0.0
Flagsreadonly
ComplexityO(log N + C) — up to nine neighbour ranges, each a seeked slice of the score tree; C = members inside the matched geohash cells (the block bound now prunes iteration too, not just distance maths)
Redis compatibilitydiffers: STOREDIST is accepted and ignored on the read-only form; COUNT 0 is an error

← All commands