Skip to content

[Fields API] _type is not returned in the response #68311

Closed
@majagrubic

Description

@majagrubic

When switching Discover to use the Fields API, _type field is no longer returned in the fields response. Moreover, when explicitly requesting a list of fields (which includes _type), an exception is thrown:
type: "unsupported_operation_exception", reason: "Cannot fetch values for internal field [_type]."

Our understanding was that this would be supported until 8.0.0. Removing it in a minor could be considered a breaking change for Discover.

Metadata

Metadata

Assignees

No one assigned

    Labels

    :Search Foundations/MappingIndex mappings, including merging and defining field types>bugTeam:Search FoundationsMeta label for the Search Foundations team in Elasticsearch

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions