[Search Source] Fields API: Do not request unmapped fields if source filtering is used #91907
Labels
bug
Fixes for quality problems that affect the customer experience
Team:Visualizations
Visualization editors, elastic-charts and infrastructure
v7.12.0
When source filters are defined in an index pattern, we'll request all fields (except the ones defined with the source filter) explicitly. Once we enable unmapped fields by default, we'll add
include_unmapped
with each of the field: `https://github.com/elastic/kibana/blob/master/src/plugins/data/common/search/search_source/search_source.ts#L509We need to change this logic as requesting this many fields with
inlcude_unmapped
option would break ES.The text was updated successfully, but these errors were encountered: