Skip to content

Commit 6f1b507

Browse files
authored
Docs - Update limitations on 'dense_vector' field type support (elastic#136807)
Clarify the support status of the 'dense_vector' field type in ESQL queries.
1 parent 7afd97e commit 6f1b507

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

docs/reference/query-languages/esql/limitations.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,6 @@ By default, an {{esql}} query returns up to 1,000 rows. You can increase the num
6767

6868
* `binary`
6969
* `completion`
70-
* `dense_vector`
7170
* `double_range`
7271
* `flattened`
7372
* `float_range`
@@ -98,6 +97,10 @@ Some [field types](/reference/elasticsearch/mapping-reference/field-data-types.m
9897

9998
In addition, when [querying multiple indexes](/reference/query-languages/esql/esql-multi-index.md), it’s possible for the same field to be mapped to multiple types. These fields cannot be directly used in queries or returned in results, unless they’re [explicitly converted to a single type](/reference/query-languages/esql/esql-multi-index.md#esql-multi-index-union-types).
10099

100+
* `dense_vector` field type is partially supported. [`KNN` function](elasticsearch://reference/query-languages/esql/functions-operators/dense-vector-functions.md#esql-knn) queries will work and any field data will be retrieved as part of the results. However, the type will appear as `unsupported` when the `KNN` function is not used.
101+
102+
This means that `FROM test` will not retrieve `dense_vector` data. But, `FROM test WHERE KNN("dense_vector_field", [0, 1, 2, ...])` will retrieve data.
103+
101104

102105
## _source availability [esql-_source-availability]
103106

0 commit comments

Comments
 (0)