1
0
mirror of https://github.com/redis/go-redis.git synced 2025-07-31 05:04:23 +03:00

Enable dialect 2 on default (#3213)

* Enable dialect 2 on deafult

* add vector test for default dialect

* Add dialect 1 test

* Add dialect 1 test & fix ft.search

* Add default dialect to Readme
This commit is contained in:
ofekshenawa
2025-03-13 14:54:25 +02:00
committed by GitHub
parent 310ce55c59
commit 555a41ecc7
3 changed files with 65 additions and 0 deletions

View File

@ -209,6 +209,10 @@ res1, err := client.FTSearchWithArgs(ctx, "txt", "foo bar", &redis.FTSearchOptio
val1 := client.FTSearchWithArgs(ctx, "txt", "foo bar", &redis.FTSearchOptions{}).RawVal()
```
#### Redis-Search Default Dialect
In the Redis-Search module, **the default dialect is 2**. If needed, you can explicitly specify a different dialect using the appropriate configuration in your queries.
## Contributing
Please see [out contributing guidelines](CONTRIBUTING.md) to help us improve this library!