- Usage:
GEORADIUS_RO key longitude latitude radius 〈 m | km | ft | mi 〉 [ withcoord ] [ withdist ] [ withhash ] [ COUNT count [ any ] ] [ asc | desc ]
- Complexity:
- O(N+log(M)) where N is the number of elements inside the bounding box of the circular area delimited by center and radius and M is the number of items inside the index.
- Since:
- 3.2.10
Read-only variant of the GEORADIUS command.
This command is identical to the GEORADIUS command, except that it doesn’t support the optional STORE and STOREDIST parameters.
History
| Version | Change |
|---|---|
| 6.2.0 | Added the `ANY` option for `COUNT`. |
| 7.0.0 | Added support for uppercase unit names. |