GEOSEARCHSearch 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] |
| グループ | geo |
| 引数の数 | -4 |
| 導入バージョン | 1.0.0 |
| フラグ | readonly |
| 計算量 | O(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 互換性 | differs: STOREDIST is accepted and ignored on the read-only form; COUNT 0 is an error |