Skip to content

Commit

Permalink
Add vector function changes to 7.4 migration docs. (#46893)
Browse files Browse the repository at this point in the history
This note was accidentally omitted in the breaking change #46004.
  • Loading branch information
jtibshirani authored Sep 20, 2019
1 parent 2425fd1 commit 6ce4825
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions docs/reference/migration/migrate_7_4.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,12 @@ If a document doesn't have a value for a vector field (dense_vector
or sparse_vector) on which a vector function is executed, an error will
be thrown.

[discrete]
==== Use float instead of double for query vectors
Previously, vector functions like `cosineSimilarity` represented the query
vector as an list of doubles. Now vector functions use floats, which matches
how the stored document vectors are represented.

[discrete]
[[breaking_74_snapshots_changes]]
=== Snapshot and Restore changes
Expand Down

0 comments on commit 6ce4825

Please sign in to comment.