-
Notifications
You must be signed in to change notification settings - Fork 25.5k
[ES\QL] Add a section for vector functions in the doc. #136077
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from 11 commits
0946c62
94f33f1
3bccdd5
98afbff
b0d6106
7c814f2
b7d6732
53af9e8
18652e3
2cb9118
86c7df6
1c16050
d9ec999
e25ebac
391c6a0
926f490
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
* [`KNN`](../../functions-operators/dense-vector-functions.md#esql-knn) | ||
Check notice on line 1 in docs/reference/query-languages/esql/_snippets/lists/dense-vector-functions.md
|
||
|
||
% * {applies_to}`stack: development` {applies_to}`serverless: preview` [ | ||
`V_COSINE`](../../functions-operators/dense-vector-functions.md#esql-v_cosine) | ||
% * {applies_to}`stack: development` {applies_to}`serverless: preview` [ | ||
`V_DOT_PRODUCT`](../../functions-operators/dense-vector-functions.md#esql-v_dot_product) | ||
% * {applies_to}`stack: preview` {applies_to}`serverless: preview` [ | ||
`V_HAMMING`](../../functions-operators/dense-vector-functions.md#esql-v_hamming) | ||
% * {applies_to}`stack: development` {applies_to}`serverless: preview` [ | ||
`V_L1_NORM`](../../functions-operators/dense-vector-functions.md#esql-v_l1_norm) | ||
% * {applies_to}`stack: development` {applies_to}`serverless: preview` [ | ||
`V_L2_NORM`](../../functions-operators/dense-vector-functions.md#esql-v_l2_norm) | ||
% * {applies_to}`stack: development` {applies_to}`serverless: preview` [ | ||
`V_MAGNITUDE`](../../functions-operators/dense-vector-functions.md#esql-v_magnitude) | ||
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,60 @@ | ||
--- | ||
applies_to: | ||
stack: preview | ||
serverless: preview | ||
navigation_title: "Dense vector functions" | ||
mapped_pages: | ||
- https://www.elastic.co/guide/en/elasticsearch/reference/current/esql-functions-operators.html#esql-dense-vector-functions | ||
--- | ||
|
||
# {{esql}} dense vector functions [esql-dense-vector-functions] | ||
|
||
{{esql}} supports dense vector functions for vector similarity calculations and | ||
k-nearest neighbor search. | ||
Dsense vector functions work with [ | ||
`dense_vector` fields](/reference/elasticsearch/mapping-reference/dense-vector.md) | ||
and require appropriate field mappings. | ||
|
||
{{esql}} supports these vector functions: | ||
|
||
:::{include} ../_snippets/lists/dense-vector-functions.md | ||
::: | ||
|
||
:::{include} ../_snippets/functions/layout/knn.md | ||
::: | ||
|
||
% V_COSINE is currently a hidden feature | ||
% To make it visible again, uncomment this and the line in | ||
% lists/dense-vector-functions.md | ||
% :::{include} ../_snippets/functions/layout/v_cosine.md | ||
% ::: | ||
|
||
% V_DOT_PRODUCT is currently a hidden feature | ||
% To make it visible again, uncomment this and the line in | ||
% lists/dense-vector-functions.md | ||
% :::{include} ../_snippets/functions/layout/v_dot_product.md | ||
% ::: | ||
|
||
% V_HAMMING is currently a hidden feature | ||
% To make it visible again, uncomment this and the line in | ||
% lists/dense-vector-functions.md | ||
% :::{include} ../_snippets/functions/layout/v_hamming.md | ||
% ::: | ||
|
||
% V_L1_NORM is currently a hidden feature | ||
% To make it visible again, uncomment this and the line in | ||
% lists/dense-vector-functions.md | ||
% :::{include} ../_snippets/functions/layout/v_l1_norm.md | ||
% ::: | ||
|
||
% V_L2_NORM is currently a hidden feature | ||
% To make it visible again, uncomment this and the line in | ||
% lists/dense-vector-functions.md | ||
% :::{include} ../_snippets/functions/layout/v_l2_norm.md | ||
% ::: | ||
|
||
% V_MAGNITUDE is currently a hidden feature | ||
% To make it visible again, uncomment this and the line in | ||
% lists/dense-vector-functions.md | ||
% :::{include} ../_snippets/functions/layout/v_magnitude.md | ||
% ::: |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Uh oh!
There was an error while loading. Please reload this page.