You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
#### Unstable RESP3 Structures for RediSearch Commands
187
187
When integrating Redis with application functionalities using RESP3, it's important to note that some response structures aren't final yet. This is especially true for more complex structures like search and query results. We recommend using RESP2 when using the search and query capabilities, but we plan to stabilize the RESP3-based API-s in the coming versions. You can find more guidance in the upcoming release notes.
188
188
189
+
To enable unstable RESP3, set the option in your client configuration:
190
+
191
+
```go
192
+
redis.NewClient(&redis.Options{
193
+
UnstableResp3: true,
194
+
})
195
+
```
196
+
**Note:** When UnstableResp3 mode is enabled, it's necessary to use RawResult() and RawVal() to retrieve a raw data.
197
+
Since, raw response is the only option for unstable search commands Val() and Result() calls wouldn't have any affect on them:
0 commit comments