Truncate long fields in Discover server-side #98497
Labels
blocked
enhancement
New value added to drive a business result
Feature:Discover
Discover Application
impact:low
Addressing this issue will have a low 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.
Currenty Discover loads all fields not filtered via the index pattern field filters. This can become problematic if some fields contain very large data that users are not (yet) aware of, thus they might not have had a chance to filter it out via the index patter field filters. Also there might be the case where just some documents contain really large field values. I think we should try to get to a way where we by default will have Elasticsearch truncate long values for us by default (at a reasonably high length) and then show the truncated value and only load the full value of a field once the user explicitly states she wants (i.e. we have "view full field" besides those truncated values).
This would save potentially a lot of bandwidth for documents containing longer values and much more important, makes Kibana faster, since even when not showing those values (i.e. we would truncate them client side) we still need to parse the response and do some level of postprocessing/transformation in our querying highlight.
Related issues: #11457
Blocked on elastic/elasticsearch#72453
The text was updated successfully, but these errors were encountered: