diff options
| author | Mitja Felicijan <mitja.felicijan@gmail.com> | 2026-01-21 22:52:54 +0100 |
|---|---|---|
| committer | Mitja Felicijan <mitja.felicijan@gmail.com> | 2026-01-21 22:52:54 +0100 |
| commit | dcacc00e3750300617ba6e16eb346713f91a783a (patch) | |
| tree | 38e2d4fb5ed9d119711d4295c6eda4b014af73fd /examples/redis-unstable/src/commands/georadius.json | |
| parent | 58dac10aeb8f5a041c46bddbeaf4c7966a99b998 (diff) | |
| download | crep-dcacc00e3750300617ba6e16eb346713f91a783a.tar.gz | |
Remove testing data
Diffstat (limited to 'examples/redis-unstable/src/commands/georadius.json')
| -rw-r--r-- | examples/redis-unstable/src/commands/georadius.json | 270 |
1 files changed, 0 insertions, 270 deletions
diff --git a/examples/redis-unstable/src/commands/georadius.json b/examples/redis-unstable/src/commands/georadius.json deleted file mode 100644 index 6ced904..0000000 --- a/examples/redis-unstable/src/commands/georadius.json +++ /dev/null | |||
| @@ -1,270 +0,0 @@ | |||
| 1 | { | ||
| 2 | "GEORADIUS": { | ||
| 3 | "summary": "Queries a geospatial index for members within a distance from a coordinate, optionally stores the result.", | ||
| 4 | "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.", | ||
| 5 | "group": "geo", | ||
| 6 | "since": "3.2.0", | ||
| 7 | "arity": -6, | ||
| 8 | "function": "georadiusCommand", | ||
| 9 | "get_keys_function": "georadiusGetKeys", | ||
| 10 | "history": [ | ||
| 11 | [ | ||
| 12 | "6.2.0", | ||
| 13 | "Added the `ANY` option for `COUNT`." | ||
| 14 | ], | ||
| 15 | [ | ||
| 16 | "7.0.0", | ||
| 17 | "Added support for uppercase unit names." | ||
| 18 | ] | ||
| 19 | ], | ||
| 20 | "deprecated_since": "6.2.0", | ||
| 21 | "replaced_by": "`GEOSEARCH` and `GEOSEARCHSTORE` with the `BYRADIUS` argument", | ||
| 22 | "doc_flags": [ | ||
| 23 | "DEPRECATED" | ||
| 24 | ], | ||
| 25 | "command_flags": [ | ||
| 26 | "WRITE", | ||
| 27 | "DENYOOM" | ||
| 28 | ], | ||
| 29 | "acl_categories": [ | ||
| 30 | "GEO" | ||
| 31 | ], | ||
| 32 | "key_specs": [ | ||
| 33 | { | ||
| 34 | "flags": [ | ||
| 35 | "RO", | ||
| 36 | "ACCESS" | ||
| 37 | ], | ||
| 38 | "begin_search": { | ||
| 39 | "index": { | ||
| 40 | "pos": 1 | ||
| 41 | } | ||
| 42 | }, | ||
| 43 | "find_keys": { | ||
| 44 | "range": { | ||
| 45 | "lastkey": 0, | ||
| 46 | "step": 1, | ||
| 47 | "limit": 0 | ||
| 48 | } | ||
| 49 | } | ||
| 50 | }, | ||
| 51 | { | ||
| 52 | "flags": [ | ||
| 53 | "OW", | ||
| 54 | "UPDATE" | ||
| 55 | ], | ||
| 56 | "begin_search": { | ||
| 57 | "keyword": { | ||
| 58 | "keyword": "STORE", | ||
| 59 | "startfrom": 6 | ||
| 60 | } | ||
| 61 | }, | ||
| 62 | "find_keys": { | ||
| 63 | "range": { | ||
| 64 | "lastkey": 0, | ||
| 65 | "step": 1, | ||
| 66 | "limit": 0 | ||
| 67 | } | ||
| 68 | } | ||
| 69 | }, | ||
| 70 | { | ||
| 71 | "flags": [ | ||
| 72 | "OW", | ||
| 73 | "UPDATE" | ||
| 74 | ], | ||
| 75 | "begin_search": { | ||
| 76 | "keyword": { | ||
| 77 | "keyword": "STOREDIST", | ||
| 78 | "startfrom": 6 | ||
| 79 | } | ||
| 80 | }, | ||
| 81 | "find_keys": { | ||
| 82 | "range": { | ||
| 83 | "lastkey": 0, | ||
| 84 | "step": 1, | ||
| 85 | "limit": 0 | ||
| 86 | } | ||
| 87 | } | ||
| 88 | } | ||
| 89 | ], | ||
| 90 | "arguments": [ | ||
| 91 | { | ||
| 92 | "name": "key", | ||
| 93 | "type": "key", | ||
| 94 | "key_spec_index": 0 | ||
| 95 | }, | ||
| 96 | { | ||
| 97 | "name": "longitude", | ||
| 98 | "type": "double" | ||
| 99 | }, | ||
| 100 | { | ||
| 101 | "name": "latitude", | ||
| 102 | "type": "double" | ||
| 103 | }, | ||
| 104 | { | ||
| 105 | "name": "radius", | ||
| 106 | "type": "double" | ||
| 107 | }, | ||
| 108 | { | ||
| 109 | "name": "unit", | ||
| 110 | "type": "oneof", | ||
| 111 | "arguments": [ | ||
| 112 | { | ||
| 113 | "name": "m", | ||
| 114 | "type": "pure-token", | ||
| 115 | "token": "m" | ||
| 116 | }, | ||
| 117 | { | ||
| 118 | "name": "km", | ||
| 119 | "type": "pure-token", | ||
| 120 | "token": "km" | ||
| 121 | }, | ||
| 122 | { | ||
| 123 | "name": "ft", | ||
| 124 | "type": "pure-token", | ||
| 125 | "token": "ft" | ||
| 126 | }, | ||
| 127 | { | ||
| 128 | "name": "mi", | ||
| 129 | "type": "pure-token", | ||
| 130 | "token": "mi" | ||
| 131 | } | ||
| 132 | ] | ||
| 133 | }, | ||
| 134 | { | ||
| 135 | "name": "withcoord", | ||
| 136 | "token": "WITHCOORD", | ||
| 137 | "type": "pure-token", | ||
| 138 | "optional": true | ||
| 139 | }, | ||
| 140 | { | ||
| 141 | "name": "withdist", | ||
| 142 | "token": "WITHDIST", | ||
| 143 | "type": "pure-token", | ||
| 144 | "optional": true | ||
| 145 | }, | ||
| 146 | { | ||
| 147 | "name": "withhash", | ||
| 148 | "token": "WITHHASH", | ||
| 149 | "type": "pure-token", | ||
| 150 | "optional": true | ||
| 151 | }, | ||
| 152 | { | ||
| 153 | "name": "count-block", | ||
| 154 | "type": "block", | ||
| 155 | "optional": true, | ||
| 156 | "arguments": [ | ||
| 157 | { | ||
| 158 | "token": "COUNT", | ||
| 159 | "name": "count", | ||
| 160 | "type": "integer" | ||
| 161 | }, | ||
| 162 | { | ||
| 163 | "name": "any", | ||
| 164 | "token": "ANY", | ||
| 165 | "type": "pure-token", | ||
| 166 | "optional": true, | ||
| 167 | "since": "6.2.0" | ||
| 168 | } | ||
| 169 | ] | ||
| 170 | }, | ||
| 171 | { | ||
| 172 | "name": "order", | ||
| 173 | "type": "oneof", | ||
| 174 | "optional": true, | ||
| 175 | "arguments": [ | ||
| 176 | { | ||
| 177 | "name": "asc", | ||
| 178 | "type": "pure-token", | ||
| 179 | "token": "ASC" | ||
| 180 | }, | ||
| 181 | { | ||
| 182 | "name": "desc", | ||
| 183 | "type": "pure-token", | ||
| 184 | "token": "DESC" | ||
| 185 | } | ||
| 186 | ] | ||
| 187 | }, | ||
| 188 | { | ||
| 189 | "name": "store", | ||
| 190 | "type": "oneof", | ||
| 191 | "optional": true, | ||
| 192 | "arguments": [ | ||
| 193 | { | ||
| 194 | "token": "STORE", | ||
| 195 | "name": "storekey", | ||
| 196 | "display": "key", | ||
| 197 | "type": "key", | ||
| 198 | "key_spec_index": 1 | ||
| 199 | }, | ||
| 200 | { | ||
| 201 | "token": "STOREDIST", | ||
| 202 | "name": "storedistkey", | ||
| 203 | "display": "key", | ||
| 204 | "type": "key", | ||
| 205 | "key_spec_index": 2 | ||
| 206 | } | ||
| 207 | ] | ||
| 208 | } | ||
| 209 | ], | ||
| 210 | "reply_schema": { | ||
| 211 | "description": "Array of matched members information", | ||
| 212 | "anyOf": [ | ||
| 213 | { | ||
| 214 | "description": "If no WITH* option is specified, array of matched members names", | ||
| 215 | "type": "array", | ||
| 216 | "items": { | ||
| 217 | "description": "name", | ||
| 218 | "type": "string" | ||
| 219 | } | ||
| 220 | }, | ||
| 221 | { | ||
| 222 | "type": "array", | ||
| 223 | "items": { | ||
| 224 | "type": "array", | ||
| 225 | "minItems": 1, | ||
| 226 | "maxItems": 4, | ||
| 227 | "items": [ | ||
| 228 | { | ||
| 229 | "description": "Matched member name", | ||
| 230 | "type": "string" | ||
| 231 | } | ||
| 232 | ], | ||
| 233 | "additionalItems": { | ||
| 234 | "oneOf": [ | ||
| 235 | { | ||
| 236 | "description": "If WITHDIST option is specified, the distance from the center as a floating point number, in the same unit specified in the radius", | ||
| 237 | "type": "string" | ||
| 238 | }, | ||
| 239 | { | ||
| 240 | "description": "If WITHHASH option is specified, the geohash integer", | ||
| 241 | "type": "integer" | ||
| 242 | }, | ||
| 243 | { | ||
| 244 | "description": "If WITHCOORD option is specified, the coordinates as a two items x,y array (longitude,latitude)", | ||
| 245 | "type": "array", | ||
| 246 | "minItems": 2, | ||
| 247 | "maxItems": 2, | ||
| 248 | "items": [ | ||
| 249 | { | ||
| 250 | "description": "latitude (x)", | ||
| 251 | "type": "number" | ||
| 252 | }, | ||
| 253 | { | ||
| 254 | "description": "longitude (y)", | ||
| 255 | "type": "number" | ||
| 256 | } | ||
| 257 | ] | ||
| 258 | } | ||
| 259 | ] | ||
| 260 | } | ||
| 261 | } | ||
| 262 | }, | ||
| 263 | { | ||
| 264 | "description": "number of items stored in key", | ||
| 265 | "type": "integer" | ||
| 266 | } | ||
| 267 | ] | ||
| 268 | } | ||
| 269 | } | ||
| 270 | } | ||
