[Data views] Implement unmappedFields option for getFieldsForIndexPattern #144772
Labels
8.7 candidate
Feature:Data Views
Data Views code and UI - index patterns before 8.0
impact:high
Addressing this issue will have a high level of impact on the quality/strength of our product.
loe:medium
Medium Level of Effort
Team:DataDiscovery
Discover, search (e.g. data plugin and KQL), data views, saved searches. For ES|QL, use Team:ES|QL.
For the UnifiedFieldList component, we need an option for fetching unmapped Fields additionally using
getFieldsForIndexPattern
.kibana/src/plugins/data_views/common/data_views/data_views.ts
Lines 510 to 520 in bb67548
This surfaced in PR #144412, where we implemented a workaround for this. Elasticsearch
field_caps
API supports usinginclude_unmapped
https://www.elastic.co/guide/en/elasticsearch/reference/current/search-field-caps.html
The text was updated successfully, but these errors were encountered: