diff --git a/content/develop/clients/dotnet/queryjson.md b/content/develop/clients/dotnet/queryjson.md index e643e3ed1..df888907b 100644 --- a/content/develop/clients/dotnet/queryjson.md +++ b/content/develop/clients/dotnet/queryjson.md @@ -22,6 +22,15 @@ run queries against the index. It then goes on to show the slight differences in the equivalent code for [hash]({{< relref "/develop/data-types/hashes" >}}) documents. +{{< note >}}From [v1.0.0](https://github.com/redis/NRedisStack/releases/tag/v1.0.0) +onwards, `NRedisStack` uses query dialect 2 by default. +Redis query engine methods such as [`FT().Search()`]({{< relref "/commands/ft.search" >}}) +will explicitly request this dialect, overriding the default set for the server. +See +[Query dialects]({{< relref "/develop/interact/search-and-query/advanced-concepts/dialects" >}}) +for more information. +{{< /note >}} + ## Initialize Make sure that you have [Redis Open Source]({{< relref "/operate/oss_and_stack" >}}) diff --git a/content/develop/clients/dotnet/vecsearch.md b/content/develop/clients/dotnet/vecsearch.md index 31ffcbf3a..5644dd6d9 100644 --- a/content/develop/clients/dotnet/vecsearch.md +++ b/content/develop/clients/dotnet/vecsearch.md @@ -36,6 +36,14 @@ for the embeddings. The code is first demonstrated for hash documents with a separate section to explain the [differences with JSON documents](#differences-with-json-documents). +{{< note >}}From [v1.0.0](https://github.com/redis/NRedisStack/releases/tag/v1.0.0) +onwards, `NRedisStack` uses query dialect 2 by default. +Redis query engine methods such as [`FT().Search()`]({{< relref "/commands/ft.search" >}}) +will explicitly request this dialect, overriding the default set for the server. +See +[Query dialects]({{< relref "/develop/interact/search-and-query/advanced-concepts/dialects" >}}) +for more information. +{{< /note >}} ## Initialize The example is probably easiest to follow if you start with a new diff --git a/content/develop/clients/go/queryjson.md b/content/develop/clients/go/queryjson.md index 922aba320..fdc2cd4a9 100644 --- a/content/develop/clients/go/queryjson.md +++ b/content/develop/clients/go/queryjson.md @@ -22,6 +22,15 @@ run queries against the index. It then goes on to show the slight differences in the equivalent code for [hash]({{< relref "/develop/data-types/hashes" >}}) documents. +{{< note >}}From [v9.8.0](https://github.com/redis/go-redis/releases/tag/v9.8.0) onwards, +`go-redis` uses query dialect 2 by default. +Redis query engine methods such as [`FTSearch()`]({{< relref "/commands/ft.search" >}}) +will explicitly request this dialect, overriding the default set for the server. +See +[Query dialects]({{< relref "/develop/interact/search-and-query/advanced-concepts/dialects" >}}) +for more information. +{{< /note >}} + ## Initialize Make sure that you have [Redis Open Source]({{< relref "/operate/oss_and_stack/" >}}) diff --git a/content/develop/clients/go/vecsearch.md b/content/develop/clients/go/vecsearch.md index 0dc6dfc25..8fc09379b 100644 --- a/content/develop/clients/go/vecsearch.md +++ b/content/develop/clients/go/vecsearch.md @@ -36,6 +36,15 @@ Redis Query Engine. The code is first demonstrated for hash documents with a separate section to explain the [differences with JSON documents](#differences-with-json-documents). +{{< note >}}From [v9.8.0](https://github.com/redis/go-redis/releases/tag/v9.8.0) onwards, +`go-redis` uses query dialect 2 by default. +Redis query engine methods such as [`FTSearch()`]({{< relref "/commands/ft.search" >}}) +will explicitly request this dialect, overriding the default set for the server. +See +[Query dialects]({{< relref "/develop/interact/search-and-query/advanced-concepts/dialects" >}}) +for more information. +{{< /note >}} + ## Initialize Start a new Go module with the following command: diff --git a/content/develop/clients/jedis/queryjson.md b/content/develop/clients/jedis/queryjson.md index 328485c8e..fbec87836 100644 --- a/content/develop/clients/jedis/queryjson.md +++ b/content/develop/clients/jedis/queryjson.md @@ -22,6 +22,15 @@ run queries against the index. It then goes on to show the slight differences in the equivalent code for [hash]({{< relref "/develop/data-types/hashes" >}}) documents. +{{< note >}}From [v6.0.0](https://github.com/redis/jedis/releases/tag/v6.0.0) onwards, +`Jedis` uses query dialect 2 by default. +Redis query engine methods such as [`ftSearch()`]({{< relref "/commands/ft.search" >}}) +will explicitly request this dialect, overriding the default set for the server. +See +[Query dialects]({{< relref "/develop/interact/search-and-query/advanced-concepts/dialects" >}}) +for more information. +{{< /note >}} + ## Initialize Make sure that you have [Redis Open Source]({{< relref "/operate/oss_and_stack/" >}}) diff --git a/content/develop/clients/jedis/vecsearch.md b/content/develop/clients/jedis/vecsearch.md index 3132352c7..b94a663f9 100644 --- a/content/develop/clients/jedis/vecsearch.md +++ b/content/develop/clients/jedis/vecsearch.md @@ -35,6 +35,15 @@ The code is first demonstrated for hash documents with a separate section to explain the [differences with JSON documents](#differences-with-json-documents). +{{< note >}}From [v6.0.0](https://github.com/redis/jedis/releases/tag/v6.0.0) onwards, +`Jedis` uses query dialect 2 by default. +Redis query engine methods such as [`ftSearch()`]({{< relref "/commands/ft.search" >}}) +will explicitly request this dialect, overriding the default set for the server. +See +[Query dialects]({{< relref "/develop/interact/search-and-query/advanced-concepts/dialects" >}}) +for more information. +{{< /note >}} + ## Initialize If you are using [Maven](https://maven.apache.org/), add the following diff --git a/content/develop/clients/nodejs/queryjson.md b/content/develop/clients/nodejs/queryjson.md index 085a44a19..2bec9ed3e 100644 --- a/content/develop/clients/nodejs/queryjson.md +++ b/content/develop/clients/nodejs/queryjson.md @@ -22,6 +22,15 @@ run queries against the index. It then goes on to show the slight differences in the equivalent code for [hash]({{< relref "/develop/data-types/hashes" >}}) documents. +{{< note >}}From [v5.0.0](https://github.com/redis/node-redis/releases/tag/redis%405.0.0) +onwards, `node-redis` uses query dialect 2 by default. +Redis query engine methods such as [`ft.search()`]({{< relref "/commands/ft.search" >}}) +will explicitly request this dialect, overriding the default set for the server. +See +[Query dialects]({{< relref "/develop/interact/search-and-query/advanced-concepts/dialects" >}}) +for more information. +{{< /note >}} + ## Initialize Make sure that you have [Redis Open Source]({{< relref "/operate/oss_and_stack/" >}}) diff --git a/content/develop/clients/nodejs/vecsearch.md b/content/develop/clients/nodejs/vecsearch.md index be3de0084..bf823c424 100644 --- a/content/develop/clients/nodejs/vecsearch.md +++ b/content/develop/clients/nodejs/vecsearch.md @@ -35,6 +35,15 @@ Redis Query Engine. The code is first demonstrated for hash documents with a separate section to explain the [differences with JSON documents](#differences-with-json-documents). +{{< note >}}From [v5.0.0](https://github.com/redis/node-redis/releases/tag/redis%405.0.0) +onwards, `node-redis` uses query dialect 2 by default. +Redis query engine methods such as [`ft.search()`]({{< relref "/commands/ft.search" >}}) +will explicitly request this dialect, overriding the default set for the server. +See +[Query dialects]({{< relref "/develop/interact/search-and-query/advanced-concepts/dialects" >}}) +for more information. +{{< /note >}} + ## Initialize Install the required dependencies: diff --git a/content/develop/clients/php/queryjson.md b/content/develop/clients/php/queryjson.md index 6d5187ea6..07ea66221 100644 --- a/content/develop/clients/php/queryjson.md +++ b/content/develop/clients/php/queryjson.md @@ -22,6 +22,15 @@ run queries against the index. It then goes on to show the slight differences in the equivalent code for [hash]({{< relref "/develop/data-types/hashes" >}}) documents. +{{< note >}}From [v3.0.0](https://github.com/predis/predis/releases/tag/v3.0.0) onwards, +`Predis` uses query dialect 2 by default. +Redis query engine methods such as [`ftSearch()`]({{< relref "/commands/ft.search" >}}) +will explicitly request this dialect, overriding the default set for the server. +See +[Query dialects]({{< relref "/develop/interact/search-and-query/advanced-concepts/dialects" >}}) +for more information. +{{< /note >}} + ## Initialize Make sure that you have [Redis Open Source]({{< relref "/operate/oss_and_stack/" >}}) diff --git a/content/develop/clients/php/vecsearch.md b/content/develop/clients/php/vecsearch.md index e44aa090a..2167c5069 100644 --- a/content/develop/clients/php/vecsearch.md +++ b/content/develop/clients/php/vecsearch.md @@ -35,6 +35,15 @@ The code is first demonstrated for hash documents with a separate section to explain the [differences with JSON documents](#differences-with-json-documents). +{{< note >}}From [v3.0.0](https://github.com/predis/predis/releases/tag/v3.0.0) onwards, +`Predis` uses query dialect 2 by default. +Redis query engine methods such as [`ftSearch()`]({{< relref "/commands/ft.search" >}}) +will explicitly request this dialect, overriding the default set for the server. +See +[Query dialects]({{< relref "/develop/interact/search-and-query/advanced-concepts/dialects" >}}) +for more information. +{{< /note >}} + ## Initialize You can use the [TransformersPHP](https://transformers.codewithkyrian.com/) diff --git a/content/develop/clients/redis-py/queryjson.md b/content/develop/clients/redis-py/queryjson.md index 571a048a7..e5d8784b2 100644 --- a/content/develop/clients/redis-py/queryjson.md +++ b/content/develop/clients/redis-py/queryjson.md @@ -22,6 +22,15 @@ run queries against the index. It then goes on to show the slight differences in the equivalent code for [hash]({{< relref "/develop/data-types/hashes" >}}) documents. +{{< note >}}From [v6.0.0](https://github.com/redis/redis-py/releases/tag/v6.0.0) onwards, +`redis-py` uses query dialect 2 by default. +Redis query engine methods such as [`ft().search()`]({{< relref "/commands/ft.search" >}}) +will explicitly request this dialect, overriding the default set for the server. +See +[Query dialects]({{< relref "/develop/interact/search-and-query/advanced-concepts/dialects" >}}) +for more information. +{{< /note >}} + ## Initialize Make sure that you have [Redis Open Source]({{< relref "/operate/oss_and_stack/" >}}) diff --git a/content/develop/clients/redis-py/vecsearch.md b/content/develop/clients/redis-py/vecsearch.md index ca3565e71..ba08cfabb 100644 --- a/content/develop/clients/redis-py/vecsearch.md +++ b/content/develop/clients/redis-py/vecsearch.md @@ -35,6 +35,15 @@ Redis Query Engine. The code is first demonstrated for hash documents with a separate section to explain the [differences with JSON documents](#differences-with-json-documents). +{{< note >}}From [v6.0.0](https://github.com/redis/redis-py/releases/tag/v6.0.0) onwards, +`redis-py` uses query dialect 2 by default. +Redis query engine methods such as [`ft().search()`]({{< relref "/commands/ft.search" >}}) +will explicitly request this dialect, overriding the default set for the server. +See +[Query dialects]({{< relref "/develop/interact/search-and-query/advanced-concepts/dialects" >}}) +for more information. +{{< /note >}} + ## Initialize Install [`redis-py`]({{< relref "/develop/clients/redis-py" >}}) if you