Skip to content

Commit 603ff4d

Browse files
authored
Add warning not to rely on exact vector metric value [v/5.5] (#1690)
Backport of #1688
1 parent 188eb28 commit 603ff4d

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

docs/modules/data-structures/pages/vector-collections.adoc

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -113,6 +113,8 @@ When disabled, each added vector is treated as a distinct vector in the index, e
113113

114114
NOTE: The recommended method for computing cosine similarity is to normalize all vectors to unit length and use the DOT metric instead.
115115

116+
WARNING: Do not rely on the exact value of the metric.
117+
It is a floating point number and the exact value may depend on the order of operations and rounding during evaluation which can vary in different implementations (with or without vectorization) and in different Hazelcast versions.
116118

117119
Configuration example:
118120

0 commit comments

Comments
 (0)