Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions docs/command-reference/compatibility.md
Original file line number Diff line number Diff line change
Expand Up @@ -297,9 +297,9 @@ sidebar_position: 0
| | <span class="command">GEOHASH</span> | <span class="support supported">Fully supported</span> |
| | <span class="command">GEOPOS</span> | <span class="support supported">Fully supported</span> |
| | <span class="command">GEORADIUS</span> | <span class="support supported">Fully supported</span> |
| | <span class="command">GEORADIUS_RO</span> | <span class="support unsupported">Unsupported</span> |
| | <span class="command">GEORADIUS_RO</span> | <span class="support supported">Fully supported</span> |
| | <span class="command">GEORADIUSBYMEMBER</span> | <span class="support supported">Fully supported</span> |
| | <span class="command">GEORADIUSBYMEMBER_RO</span> | <span class="support unsupported">Unsupported</span> |
| | <span class="command">GEORADIUSBYMEMBER_RO</span> | <span class="support supported">Fully supported</span> |
| | <span class="command">GEOSEARCH</span> | <span class="support supported">Fully supported</span> |
| | <span class="command">GEOSEARCHSTORE</span> | <span class="support unsupported">Unsupported</span> |
| <span class="family">Bloom Filter</span> | <span class="command">BF.ADD</span> | <span class="support supported">Fully supported</span> |
Expand Down
21 changes: 21 additions & 0 deletions docs/command-reference/geospatial-indices/georadius_ro.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
---
description: "Learn how to use GEORADIUS_RO to find geographical data in your Dragonfly database by defining latitude and longitude."
---

import PageTitle from '@site/src/components/PageTitle';

# GEORADIUS_RO

<PageTitle title="GEORADIUS_RO Command (Documentation) | Dragonfly" />

## Syntax

GEORADIUS_RO key longitude latitude radius <M | KM | FT | MI> [WITHCOORD] [WITHDIST] [WITHHASH] [COUNT count [ANY]] [ASC | DESC]

**Time 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.

**ACL categories:** @read, @geo, @slow

Read-only variant of the [`GEORADIUS`](./georadius.md) command.

This command is identical to the [`GEORADIUS`](./georadius.md) command, except that it doesn't support the optional `STORE` and `STOREDIST` parameters.
21 changes: 21 additions & 0 deletions docs/command-reference/geospatial-indices/georadiusbymember_ro.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
---
description: "Learn how to use GEORADIUSBYMEMBER_RO to find geographical data in your Dragonfly database by defining radius."
---

import PageTitle from '@site/src/components/PageTitle';

# GEORADIUSBYMEMBER_RO

<PageTitle title="GEORADIUSBYMEMBER_RO Command (Documentation) | Dragonfly" />

## Syntax

GEORADIUSBYMEMBER_RO key member radius <M | KM | FT | MI> [WITHCOORD] [WITHDIST] [WITHHASH] [COUNT count [ANY]] [ASC | DESC]

**Time 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.

**ACL categories:** @read, @geo, @slow

Read-only variant of the [`GEORADIUSBYMEMBER`](./georadiusbymember.md) command.

This command is identical to the [`GEORADIUSBYMEMBER`](./georadiusbymember.md) command, except that it doesn't support the optional `STORE` and `STOREDIST` parameters.