diff options
Diffstat (limited to 'src/commands/georadiusbymember.json')
-rw-r--r-- | src/commands/georadiusbymember.json | 35 |
1 files changed, 20 insertions, 15 deletions
diff --git a/src/commands/georadiusbymember.json b/src/commands/georadiusbymember.json index f2db041d1..4b627419b 100644 --- a/src/commands/georadiusbymember.json +++ b/src/commands/georadiusbymember.json @@ -1,6 +1,6 @@ { "GEORADIUSBYMEMBER": { - "summary": "Query a sorted set representing a geospatial index to fetch members matching a given maximum distance from a member", + "summary": "Queries a geospatial index for members within a distance from a member, 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", @@ -177,20 +177,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": { |