mirror of https://github.com/redis/redis.git
Hi, this PR implements the following changes: 1. The EPSILON option of VSIM is now documented. 2. The EPSILON behavior was fixed: the score was incorrectly divided by two in the meaning, with a 0-2 interval provided by the underlying cosine similarity, instead of the 0-1 interval. So an EPSILON of 0.2 only returned elements with a distance between 1 and 0.9 instead of 1 and 0.8. This is a *breaking change* but the command was not documented so far, and it is a fix, as the user sees the similarity score so was a total mismatch. I believe this fix should definitely be back ported as soon as possible. 3. There are now tests. Thanks for checking, Salvatore |
||
|---|---|---|
| .. | ||
| redisbloom | ||
| redisearch | ||
| redisjson | ||
| redistimeseries | ||
| vector-sets | ||
| Makefile | ||
| common.mk | ||