Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 9 additions & 0 deletions content/develop/clients/dotnet/queryjson.md
Original file line number Diff line number Diff line change
Expand Up @@ -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" >}})
Expand Down
8 changes: 8 additions & 0 deletions content/develop/clients/dotnet/vecsearch.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
9 changes: 9 additions & 0 deletions content/develop/clients/go/queryjson.md
Original file line number Diff line number Diff line change
Expand Up @@ -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/" >}})
Expand Down
9 changes: 9 additions & 0 deletions content/develop/clients/go/vecsearch.md
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
9 changes: 9 additions & 0 deletions content/develop/clients/jedis/queryjson.md
Original file line number Diff line number Diff line change
Expand Up @@ -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/" >}})
Expand Down
9 changes: 9 additions & 0 deletions content/develop/clients/jedis/vecsearch.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
9 changes: 9 additions & 0 deletions content/develop/clients/nodejs/queryjson.md
Original file line number Diff line number Diff line change
Expand Up @@ -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/" >}})
Expand Down
9 changes: 9 additions & 0 deletions content/develop/clients/nodejs/vecsearch.md
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
9 changes: 9 additions & 0 deletions content/develop/clients/php/queryjson.md
Original file line number Diff line number Diff line change
Expand Up @@ -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/" >}})
Expand Down
9 changes: 9 additions & 0 deletions content/develop/clients/php/vecsearch.md
Original file line number Diff line number Diff line change
Expand Up @@ -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/)
Expand Down
9 changes: 9 additions & 0 deletions content/develop/clients/redis-py/queryjson.md
Original file line number Diff line number Diff line change
Expand Up @@ -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/" >}})
Expand Down
9 changes: 9 additions & 0 deletions content/develop/clients/redis-py/vecsearch.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down