Dense vector field type

How can apply dense vector size(dims) to 2048

"mappings": {
"properties": {
"denseVector": {
"type": "dense_vector",
"index": false,
"dims":2048
}
}
}

And i got
The number of dimensions for field [denseVector] should be in the range [1, 1024] this error

pls help

Hi!
What is ES aversion?

I ran with the value 0 and got another answer:
"The number of dimensions for field [denseVector] should be in the range [1, 2048] but was [0]"

my ES version 7.3

For this version you cant exceed 1024.

A dense_vector field stores dense vectors of float values. The maximum number of dimensions that can be in a vector should not exceed 1024. A dense_vector field is a single-valued field.

1 Like

Thanks for helpiing me :+1: :+1:

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.