Skip to content

Synthetic Source Bug with bit Type in dense_vector Field When index is Set to false #114402

@Rassyan

Description

@Rassyan

Elasticsearch Version

8.15.0

Installed Plugins

No response

Java Version

bundled

OS Version

N/A

Problem Description

Description:

When the index property is set to false, the synthetic_source feature does not handle the bit type correctly. This results in a java.nio.BufferUnderflowException when using synthetic source to reconstruct the document.

Steps to Reproduce

  1. Create an index with a dense_vector field where element_type is bit and index is set to false.
  2. Populate the index with documents containing the dense_vector field.
  3. Attempt to use the synthetic_source feature to reconstruct the document.

Logs (if relevant)

No response

Metadata

Metadata

Assignees

No one assigned

    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