Skip to content

Load date fields through 'fields' instead of 'docvalue_fields'. #75813

@jtibshirani

Description

@jtibshirani

Currently the Discover search loads the document _source, and also loads date fields using docvalue_fields in order to apply the right formatting. Doc values are column-oriented and are more expensive to retrieve, so Elasticsearch places a limit on the number of fields that can be retrieved (index.max_docvalue_fields_search). If a user has more date fields than this limit, the Discover search can fail.

Elasticsearch merged a new fields option that loads fields from _source, and supports date formatting. Discover could switch to loading dates through fields instead of docvalue_fields to prevent hitting the limit.

This would resolve #22897. Also relates to #69049.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Feature:DiscoverDiscover ApplicationFeature:SearchQuerying infrastructure in KibanaTeam:GeoFormer Team Label for Geo Team. Now use Team:Presentation

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions