Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Upgrade the Dataview API request to filter out "Empty fields" #176082

Closed
Tracked by #166175
ninoslavmiskovic opened this issue Feb 1, 2024 · 3 comments
Closed
Tracked by #166175

Upgrade the Dataview API request to filter out "Empty fields" #176082

ninoslavmiskovic opened this issue Feb 1, 2024 · 3 comments
Labels
blocked Feature:Data Views Data Views code and UI - index patterns before 8.0 Feature:UnifiedFieldList The unified field list component used by Lens & Discover Icebox impact:medium Addressing this issue will have a medium level of impact on the quality/strength of our product. loe:needs-research This issue requires some research before it can be worked on or estimated Team:DataDiscovery Discover, search (e.g. data plugin and KQL), data views, saved searches. For ES|QL, use Team:ES|QL.

Comments

@ninoslavmiskovic
Copy link
Contributor

We're soon introducing an enhancement to the field_caps API that will allow the exclusion of fields that have always been empty, on an index level, from the field list. These fields will be categorized under the section titled "Empty fields."

This idea is to refine the Dataview API request. This upgraded request will retrieve the field list but omit the empty fields.

Skærmbillede 2024-02-01 kl  17 43 13

This update is primarily aimed at enhancing the user experience (UX) by streamlining the field list presented during searches, particularly in the unified search interface. Users will benefit from a more relevant and concise list, displaying only fields that contain values. Example of a long field list that could be shorter:

Skaermoptagelse.2024-02-01.kl.17.41.18.mov

Additionally, this change is expected to reduce network traffic and lower associated costs.

This improvement will be reflected across all functionalities that utilize the data-view request for obtaining the field list.

Important Note:

We are also considering the provision for users to access the "Empty fields" when needed. This functionality will be integrated into the design of the field list and unified search interfaces, among others, allowing users to retrieve these fields on demand

@ninoslavmiskovic ninoslavmiskovic added the Team:DataDiscovery Discover, search (e.g. data plugin and KQL), data views, saved searches. For ES|QL, use Team:ES|QL. label Feb 1, 2024
@elasticmachine
Copy link
Contributor

Pinging @elastic/kibana-data-discovery (Team:DataDiscovery)

@kertal kertal added impact:medium Addressing this issue will have a medium level of impact on the quality/strength of our product. Feature:Data Views Data Views code and UI - index patterns before 8.0 Feature:UnifiedFieldList The unified field list component used by Lens & Discover loe:needs-research This issue requires some research before it can be worked on or estimated labels Feb 15, 2024
@kertal kertal added the blocked label Mar 19, 2024
@kertal
Copy link
Member

kertal commented Mar 19, 2024

Setting this to blocked, because filtering out empty fields as a default would cause performance issues on Elasticsearch side, when there are lots of shards queried for just returning fields that have/had values

@kertal kertal added the Icebox label Sep 23, 2024
@kertal
Copy link
Member

kertal commented Sep 23, 2024

Closing this because it's not planned to be resolved in the foreseeable future. It will be tracked in our Icebox and will be re-opened if our priorities change. Feel free to re-open if you think it should be melted sooner.

@kertal kertal closed this as not planned Won't fix, can't repro, duplicate, stale Sep 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
blocked Feature:Data Views Data Views code and UI - index patterns before 8.0 Feature:UnifiedFieldList The unified field list component used by Lens & Discover Icebox impact:medium Addressing this issue will have a medium level of impact on the quality/strength of our product. loe:needs-research This issue requires some research before it can be worked on or estimated Team:DataDiscovery Discover, search (e.g. data plugin and KQL), data views, saved searches. For ES|QL, use Team:ES|QL.
Projects
None yet
Development

No branches or pull requests

3 participants