API to list non-empty fields matched by a query DSL #52730
Labels
:Search/Search
Search-related issues that do not fall into other categories
Team:Search
Meta label for search team
Problem statement
A common interface element in Kibana is a list of "fields". These are displayed using the dotted path notation, such as
browser.useragent
andbrowser.useragent.keyword
. To help the user with their choices, we want to provide the most accurate list possible. This usually involves starting with the list offield_caps
and then filtering based on whether we think the paths returned contain data. To list some specific examples:exists
aggregations for each field fromfield_caps
As you can see, this is a common request that is handled inconsistently.
Requirements of a solution
exists
any docs in the searchfield_caps
: list of fields as JSON, like{ fieldName: { keyword: { aggregatable: true } } }
.Proposed API:
Response:
The text was updated successfully, but these errors were encountered: