Skip to content

Commit a6597f3

Browse files
authored
Heads up about UnstableResp3
Adds a heads up message sharing the implications of creating a client using RESP2 or RESP3. Currently, RESP3 response structures are not final yet, and this changes the way devs process results from searches and aggregations.
1 parent cbaa680 commit a6597f3

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

content/develop/clients/go/queryjson.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,8 @@ Connect to the database:
3131
{{< clients-example go_home_json connect >}}
3232
{{< /clients-example >}}
3333

34+
Note the usage of [RESP2](https://github.com/redis/redis-specifications/blob/master/protocol/RESP2.md) during the connection creation. This is required if you intend to perform searches and aggregations in Redis. If your use case requires the usage of [RESP3](https://github.com/redis/redis-specifications/blob/master/protocol/RESP3.md), then the way you are going to process the results from your queries will be different. See the section [Unstable RESP3 Structures for RediSearch Commands](https://github.com/redis/go-redis?tab=readme-ov-file#unstable-resp3-structures-for-redisearch-commands) from the [go-redis](https://github.com/redis/go-redis) README page.
35+
3436
Create some test data to add to the database:
3537

3638
{{< clients-example go_home_json create_data >}}
@@ -80,4 +82,4 @@ to count all users in each city.
8082
{{< /clients-example >}}
8183

8284
See the [Redis query engine]({{< relref "/develop/interact/search-and-query" >}}) docs
83-
for a full description of all query features with examples.
85+
for a full description of all query features with examples.

0 commit comments

Comments
 (0)