Skip to content

Support setting the number of dimensions dynamically on dense_vector #97530

@jpountz

Description

@jpountz

Description

It would be nice if dense_vector supported setting its number of dimensions dynamically, when the first document that has a value for this vector gets indexed. This could simplify getting-started guides, and would enable users to not have to change their index templates when trying out a different model that has a different number of dimensions.

For reference, constant_keyword has a similar mechanism for setting its value parameter.

Metadata

Metadata

Assignees

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions