Skip to content

Commit 0787c24

Browse files
Merge pull request #1744 from redis/DOC-5362-client-query-dialect
DOC-5362 notes about query dialect 2 default for clients
2 parents 91212e3 + e17be32 commit 0787c24

File tree

12 files changed

+107
-0
lines changed

12 files changed

+107
-0
lines changed

content/develop/clients/dotnet/queryjson.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,15 @@ run queries against the index. It then goes on to show the slight differences
2222
in the equivalent code for [hash]({{< relref "/develop/data-types/hashes" >}})
2323
documents.
2424

25+
{{< note >}}From [v1.0.0](https://github.com/redis/NRedisStack/releases/tag/v1.0.0)
26+
onwards, `NRedisStack` uses query dialect 2 by default.
27+
Redis query engine methods such as [`FT().Search()`]({{< 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

2736
Make sure that you have [Redis Open Source]({{< relref "/operate/oss_and_stack" >}})

content/develop/clients/dotnet/vecsearch.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,14 @@ for the embeddings. The code is first demonstrated for hash documents with a
3636
separate section to explain the
3737
[differences with JSON documents](#differences-with-json-documents).
3838

39+
{{< note >}}From [v1.0.0](https://github.com/redis/NRedisStack/releases/tag/v1.0.0)
40+
onwards, `NRedisStack` uses query dialect 2 by default.
41+
Redis query engine methods such as [`FT().Search()`]({{< 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 >}}
3947
## Initialize
4048

4149
The example is probably easiest to follow if you start with a new

content/develop/clients/go/queryjson.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,15 @@ run queries against the index. It then goes on to show the slight differences
2222
in the equivalent code for [hash]({{< relref "/develop/data-types/hashes" >}})
2323
documents.
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

2736
Make sure that you have [Redis Open Source]({{< relref "/operate/oss_and_stack/" >}})

content/develop/clients/go/vecsearch.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,15 @@ Redis Query Engine. The code is first demonstrated for hash documents with a
3636
separate 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

4150
Start a new Go module with the following command:

content/develop/clients/jedis/queryjson.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,15 @@ run queries against the index. It then goes on to show the slight differences
2222
in the equivalent code for [hash]({{< relref "/develop/data-types/hashes" >}})
2323
documents.
2424

25+
{{< note >}}From [v6.0.0](https://github.com/redis/jedis/releases/tag/v6.0.0) onwards,
26+
`Jedis` 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

2736
Make sure that you have [Redis Open Source]({{< relref "/operate/oss_and_stack/" >}})

content/develop/clients/jedis/vecsearch.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,15 @@ The code is first demonstrated for hash documents with a
3535
separate section to explain the
3636
[differences with JSON documents](#differences-with-json-documents).
3737

38+
{{< note >}}From [v6.0.0](https://github.com/redis/jedis/releases/tag/v6.0.0) onwards,
39+
`Jedis` uses query dialect 2 by default.
40+
Redis query engine methods such as [`ftSearch()`]({{< relref "/commands/ft.search" >}})
41+
will explicitly request this dialect, overriding the default set for the server.
42+
See
43+
[Query dialects]({{< relref "/develop/interact/search-and-query/advanced-concepts/dialects" >}})
44+
for more information.
45+
{{< /note >}}
46+
3847
## Initialize
3948

4049
If you are using [Maven](https://maven.apache.org/), add the following

content/develop/clients/nodejs/queryjson.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,15 @@ run queries against the index. It then goes on to show the slight differences
2222
in the equivalent code for [hash]({{< relref "/develop/data-types/hashes" >}})
2323
documents.
2424

25+
{{< note >}}From [v5.0.0](https://github.com/redis/node-redis/releases/tag/redis%405.0.0)
26+
onwards, `node-redis` uses query dialect 2 by default.
27+
Redis query engine methods such as [`ft.search()`]({{< 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

2736
Make sure that you have [Redis Open Source]({{< relref "/operate/oss_and_stack/" >}})

content/develop/clients/nodejs/vecsearch.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,15 @@ Redis Query Engine. The code is first demonstrated for hash documents with a
3535
separate section to explain the
3636
[differences with JSON documents](#differences-with-json-documents).
3737

38+
{{< note >}}From [v5.0.0](https://github.com/redis/node-redis/releases/tag/redis%405.0.0)
39+
onwards, `node-redis` uses query dialect 2 by default.
40+
Redis query engine methods such as [`ft.search()`]({{< relref "/commands/ft.search" >}})
41+
will explicitly request this dialect, overriding the default set for the server.
42+
See
43+
[Query dialects]({{< relref "/develop/interact/search-and-query/advanced-concepts/dialects" >}})
44+
for more information.
45+
{{< /note >}}
46+
3847
## Initialize
3948

4049
Install the required dependencies:

content/develop/clients/php/queryjson.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,15 @@ run queries against the index. It then goes on to show the slight differences
2222
in the equivalent code for [hash]({{< relref "/develop/data-types/hashes" >}})
2323
documents.
2424

25+
{{< note >}}From [v3.0.0](https://github.com/predis/predis/releases/tag/v3.0.0) onwards,
26+
`Predis` 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

2736
Make sure that you have [Redis Open Source]({{< relref "/operate/oss_and_stack/" >}})

content/develop/clients/php/vecsearch.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,15 @@ The code is first demonstrated for hash documents with a
3535
separate section to explain the
3636
[differences with JSON documents](#differences-with-json-documents).
3737

38+
{{< note >}}From [v3.0.0](https://github.com/predis/predis/releases/tag/v3.0.0) onwards,
39+
`Predis` uses query dialect 2 by default.
40+
Redis query engine methods such as [`ftSearch()`]({{< relref "/commands/ft.search" >}})
41+
will explicitly request this dialect, overriding the default set for the server.
42+
See
43+
[Query dialects]({{< relref "/develop/interact/search-and-query/advanced-concepts/dialects" >}})
44+
for more information.
45+
{{< /note >}}
46+
3847
## Initialize
3948

4049
You can use the [TransformersPHP](https://transformers.codewithkyrian.com/)

0 commit comments

Comments
 (0)