Skip to content

Script: Fields API should not throw for disabled field data #94403

Open
@stu-elastic

Description

@stu-elastic

Accessing an _id field via field('_id').empty throws an IllegalArgumentException. In addition to missing mapping and missing values, introspecting a field with missing field data should not throw.

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