[ES|QL] Should calculate true value for total number of docs for given date range #195787
Labels
blocked
enhancement
New value added to drive a business result
Feature:Discover
Discover Application
Feature:ES|QL
ES|QL related features in Kibana
Team:DataDiscovery
Discover App Team (Document Explorer, Saved Search, Surrounding documents, Data, DataViews)
Team:ESQL
ES|QL related features in Kibana
Seen in 8.16 and prior.
The displayed value for total number of documents should not be limited to 1000.
When writing an ES|QL query, a
| LIMIT 1000
is added behind-the-scenes. This is a UI-applied guardrail to protect against excessive query load, in place until such time as paging is available and/or optimizations for timestamp ordering.The
LIMIT 1000
does not apply to the time chart because there is an expectation to see the full event rate for the given time range - this mirrors existing KQL functionality.The
LIMIT 1000
applies to the table view - this mirrors existing KQL functionality and avoids too much data being brought back to the UI. This is ok.However the
LIMIT 1000
applies to the doc count (number of docs shown in the tab heading) which seems to be incorrect. Whilst this is the number of docs in the table, it should really show the full doc count for the given time range. This would mirror existing KQL functionality and would show the expected number of docs.The text was updated successfully, but these errors were encountered: