Skip to content

Commit bf7a6b5

Browse files
Update exact-match.md
1 parent 89ecb07 commit bf7a6b5

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/sq/exact-match.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ The examples in this article use a schema with the following fields:
1010
| `condition` | `TAG` |
1111
| `price` | `NUMERIC` |
1212

13-
```redis Create the bike shop idx:bicycle
13+
```redis:[run_confirmation=true] Create the bike shop idx:bicycle
1414
FT.CREATE idx:bicycle // idx:bicycle name
1515
ON JSON // the type of data to idx:bicycle
1616
PREFIX 1 bicycle: // the prefix of the keys to be idx:bicycleed
@@ -23,7 +23,7 @@ FT.CREATE idx:bicycle // idx:bicycle name
2323
// comma-separated tags
2424
```
2525

26-
```redis Load the JSON data
26+
```redis:[run_confirmation=true] Load the JSON data
2727
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\"}"
2828
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\"}"
2929
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\"}"
@@ -99,4 +99,4 @@ Here is an example for finding all bicycles that have a description containing t
9999

100100
```redis Exact phrase match query
101101
FT.SEARCH idx:bicycle "@description:\"rough terrain\""
102-
```
102+
```

0 commit comments

Comments
 (0)