File tree Expand file tree Collapse file tree 2 files changed +18
-0
lines changed
content/develop/clients/go Expand file tree Collapse file tree 2 files changed +18
-0
lines changed Original file line number Diff line number Diff line change @@ -22,6 +22,15 @@ run queries against the index. It then goes on to show the slight differences
2222in the equivalent code for [ hash] ({{< relref "/develop/data-types/hashes" >}})
2323documents.
2424
25+ {{< note >}}From [ v9.8.0] ( https://github.com/redis/go-redis/releases/tag/v9.8.0 ) onwards,
26+ ` go-redis ` uses query dialect 2 by default.
27+ Redis query engine methods such as [ ` FTSearch() ` ] ({{< relref "/commands/ft.search" >}})
28+ will explicitly request this dialect, overriding the default set for the server.
29+ See
30+ [ Query dialects] ({{< relref "/develop/interact/search-and-query/advanced-concepts/dialects" >}})
31+ for more information.
32+ {{< /note >}}
33+
2534## Initialize
2635
2736Make sure that you have [ Redis Open Source] ({{< relref "/operate/oss_and_stack/" >}})
Original file line number Diff line number Diff line change @@ -36,6 +36,15 @@ Redis Query Engine. The code is first demonstrated for hash documents with a
3636separate section to explain the
3737[ differences with JSON documents] ( #differences-with-json-documents ) .
3838
39+ {{< note >}}From [ v9.8.0] ( https://github.com/redis/go-redis/releases/tag/v9.8.0 ) onwards,
40+ ` go-redis ` uses query dialect 2 by default.
41+ Redis query engine methods such as [ ` FTSearch() ` ] ({{< relref "/commands/ft.search" >}})
42+ will explicitly request this dialect, overriding the default set for the server.
43+ See
44+ [ Query dialects] ({{< relref "/develop/interact/search-and-query/advanced-concepts/dialects" >}})
45+ for more information.
46+ {{< /note >}}
47+
3948## Initialize
4049
4150Start a new Go module with the following command:
You can’t perform that action at this time.
0 commit comments