Skip to content

Commit 06b8832

Browse files
Update range.md
1 parent 5d16c33 commit 06b8832

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/sq/range.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ The examples in this section use a schema with the following field:
3636
| ---------- | ---------- |
3737
| `price` | `NUMERIC` |
3838

39-
```redis Create the bike shop idx:bicycle
39+
```redis:[run_confirmation=true] Create the bike shop idx:bicycle
4040
FT.CREATE idx:bicycle // idx:bicycle name
4141
ON JSON // the type of data to idx:bicycle
4242
PREFIX 1 bicycle: // the prefix of the keys to be idx:bicycleed
@@ -49,7 +49,7 @@ FT.CREATE idx:bicycle // idx:bicycle name
4949
// comma-separated tags
5050
```
5151

52-
```redis Load the JSON data
52+
```redis:[run_confirmation=true] Load the JSON data
5353
JSON.SET "bicycle:0" "." "{\"brand\": \"Velorim\", \"model\": \"Jigger\", \"price\": 270, \"description\": \"Small and powerful, the Jigger is the best ride for the smallest of tikes! This is the tiniest kids\\u2019 pedal bike on the market available without a coaster brake, the Jigger is the vehicle of choice for the rare tenacious little rider raring to go.\", \"condition\": \"new\"}"
5454
JSON.SET "bicycle:1" "." "{\"brand\": \"Bicyk\", \"model\": \"Hillcraft\", \"price\": 1200, \"description\": \"Kids want to ride with as little weight as possible. Especially on an incline! They may be at the age when a 27.5\\\" wheel bike is just too clumsy coming off a 24\\\" bike. The Hillcraft 26 is just the solution they need!\", \"condition\": \"used\"}"
5555
JSON.SET "bicycle:2" "." "{\"brand\": \"Nord\", \"model\": \"Chook air 5\", \"price\": 815, \"description\": \"The Chook Air 5 gives kids aged six years and older a durable and uberlight mountain bike for their first experience on tracks and easy cruising through forests and fields. The lower top tube makes it easy to mount and dismount in any situation, giving your kids greater safety on the trails.\", \"condition\": \"used\"}"
@@ -88,4 +88,4 @@ FT.SEARCH idx:bicycle "@price:[-inf 2000] SORTBY price LIMIT 0 5"
8888

8989
## Non-numeric range queries
9090

91-
You can learn more about non-numeric range queries, such as [geospatial](https://redis.io/docs/interact/search-and-query/query/geo-spatial?utm_source=redisinsight&utm_medium=main&utm_campaign=tutorials) or [vector search](https://redis.io/docs/interact/search-and-query/query/vector-search?utm_source=redisinsight&utm_medium=main&utm_campaign=tutorials) queries, in their dedicated articles.
91+
You can learn more about non-numeric range queries, such as [geospatial](https://redis.io/docs/interact/search-and-query/query/geo-spatial?utm_source=redisinsight&utm_medium=main&utm_campaign=tutorials) or [vector search](https://redis.io/docs/interact/search-and-query/query/vector-search?utm_source=redisinsight&utm_medium=main&utm_campaign=tutorials) queries, in their dedicated articles.

0 commit comments

Comments
 (0)