Skip to content

Dense vector fields do not set default index options when element type is BFLOAT16 #145204

@Mikep86

Description

@Mikep86

Elasticsearch Version

main

Installed Plugins

No response

Java Version

bundled

OS Version

N/A

Problem Description

If using a dense_vector field with element_type set to bfloat16, no default index options are applied.

Steps to Reproduce

Create a dense_vector field with element_type set to bfloat16:

PUT test-index
{
  "mappings": {
    "properties": {
      "dense_vector_field": {
        "type": "dense_vector",
        "element_type": "bfloat16",
        "dims": 512
      }
    }
  }
}

Logs (if relevant)

No response

Metadata

Metadata

Assignees

Labels

:Search Foundations/MappingIndex mappings, including merging and defining field types:Search Relevance/VectorsVector search>bugTeam:Search FoundationsMeta label for the Search Foundations team in ElasticsearchTeam:Search RelevanceMeta label for the Search Relevance team in Elasticsearchpriority:highA label for assessing bug priority to be used by ES engineers

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