We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2c8aa0e commit 6f8dfebCopy full SHA for 6f8dfeb
docs/reference/query-dsl/script-score-query.asciidoc
@@ -78,10 +78,18 @@ to be the most efficient by using the internal mechanisms.
78
79
[[vector-functions]]
80
===== Functions for vector fields
81
+
82
+experimental[]
83
84
These functions are used for
85
for <<dense-vector,`dense_vector`>> and
86
<<sparse-vector,`sparse_vector`>> fields.
87
88
+NOTE: During vector functions' calculation, all matched documents are
89
+linearly scanned. Thus, expect the query time grow linearly
90
+with the number of matched documents. For this reason, we recommend
91
+to limit the number of matched documents with a `query` parameter.
92
93
For dense_vector fields, `cosineSimilarity` calculates the measure of
94
cosine similarity between a given query vector and document vectors.
95
0 commit comments