summaryrefslogtreecommitdiff
path: root/src/commands/georadius.json
diff options
context:
space:
mode:
Diffstat (limited to 'src/commands/georadius.json')
-rw-r--r--src/commands/georadius.json35
1 files changed, 20 insertions, 15 deletions
diff --git a/src/commands/georadius.json b/src/commands/georadius.json
index 3c475784b..6ced9049c 100644
--- a/src/commands/georadius.json
+++ b/src/commands/georadius.json
@@ -1,6 +1,6 @@
{
"GEORADIUS": {
- "summary": "Query a sorted set representing a geospatial index to fetch members matching a given maximum distance from a point",
+ "summary": "Queries a geospatial index for members within a distance from a coordinate, optionally stores the result.",
"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.",
"group": "geo",
"since": "3.2.0",
@@ -186,20 +186,25 @@
]
},
{
- "token": "STORE",
- "name": "storekey",
- "display": "key",
- "type": "key",
- "key_spec_index": 1,
- "optional": true
- },
- {
- "token": "STOREDIST",
- "name": "storedistkey",
- "display": "key",
- "type": "key",
- "key_spec_index": 2,
- "optional": true
+ "name": "store",
+ "type": "oneof",
+ "optional": true,
+ "arguments": [
+ {
+ "token": "STORE",
+ "name": "storekey",
+ "display": "key",
+ "type": "key",
+ "key_spec_index": 1
+ },
+ {
+ "token": "STOREDIST",
+ "name": "storedistkey",
+ "display": "key",
+ "type": "key",
+ "key_spec_index": 2
+ }
+ ]
}
],
"reply_schema": {