Skip to content

Source fallback for Scripting Fields API #79157

@stu-elastic

Description

@stu-elastic

If a document is missing a value, the fields API should fall back to source.

If the field is mapped, we should convert the field to the mapped value
Question: Does this work with date formats?

Question: What type should we return if the field is unmapped? A java type? A Json type (see: #53536)?

Users should be able to request source directly and request doc values directly.
Question: Should we indicate the provenance of the value (doc values, source) via an API?

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