Skip to content

Whether synthetic source is enabled checks are inconsistent #136345

@Kubik42

Description

@Kubik42

The following line will evaluate to false when index.mapping.source.mode is missing but _source.mode is set.

_source.mode is the "old" way of enabling synthetic source. That said, some indices may still be using it.

This creates inconsistency as syntheticSourceSupport() gets invoked, all the while the field mapper indexes documents with the assumption that synthetic source is disabled.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions