[Discover][New table] Improve document selection #99775
Labels
enhancement
New value added to drive a business result
Feature:Discover
Discover Application
Icebox
impact:low
Addressing this issue will have a low level of impact on the quality/strength of our product.
loe:large
Large Level of Effort
Team:DataDiscovery
Discover, search (e.g. data plugin and KQL), data views, saved searches. For ES|QL, use Team:ES|QL.
When selecting documents in the new table we currently select and filter only in UI, based on the records that are fetched from ES (this is usually a sample of max 500 documents).
It works like the classic table in this case, when you expand a document, change the time range so it is no longer in between this range, the document is no longer displayed.
Once a user selects documents, those should not vanish just because those documents were selected at the start of 1500 records and after inverting the sorting they are no longer available.
The desired behavior should be: When the user selects a doc, clicks on "Show selected documents only", those docs should be displayed even if the user changes the time range or filters in the meantime, also sorting should work in this case.
To achieve this behavior we need to change architecture. When
Show selected documents only
is selected, this should trigger a request to ES using the ids of the selected docs with same sorting like in thecomplete
table. Since there can be multiple records with the same id in a set of documents, so we need to add an additional filter client side, to show only the documents the user selected.The text was updated successfully, but these errors were encountered: