[Discover] Switch from _source to fields when fetching data #80517
Labels
Feature:Discover
Discover Application
Team:Visualizations
Visualization editors, elastic-charts and infrastructure
Currently data displayed in Discovers grid is taken from
_source
(except scripted fields anddate
&date_nanos
fields, which are requested by usingdocvalue_fields
). For this reason multi fields (e.g.field.keyword
), alias field, and the upcoming new kid on the field block called runtime field #77107 can be selected, but there's no value displayed in the document table.How much adaptions are necessary depends on how data is returned when using
fields
, currentlyfields
is returned destructured, but since Discover is currently using_source
which is structured this would be a very different behavior.What parts of Discover would need adaptation, when
fields
is ready to usage?_source
, it needs to be decided and implemented what should be displayed insteadFields API change checklist
Requirements:
Support request for fields in high level search service. #77241
The text was updated successfully, but these errors were encountered: