Skip to content

Commit 3c4fc59

Browse files
committed
Add vector function changes to 7.4 migration docs. (#46893)
This note was accidentally omitted in the breaking change #46004.
1 parent d8af16f commit 3c4fc59

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

docs/reference/migration/migrate_7_4.asciidoc

+6
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,12 @@ If a document doesn't have a value for a vector field (dense_vector
3939
or sparse_vector) on which a vector function is executed, an error will
4040
be thrown.
4141

42+
[discrete]
43+
==== Use float instead of double for query vectors
44+
Previously, vector functions like `cosineSimilarity` represented the query
45+
vector as an list of doubles. Now vector functions use floats, which matches
46+
how the stored document vectors are represented.
47+
4248
[discrete]
4349
[[breaking_74_snapshots_changes]]
4450
=== Snapshot and Restore changes

0 commit comments

Comments
 (0)