-
Notifications
You must be signed in to change notification settings - Fork 25.8k
Integrate rollup search with _search endpoint #48005
Copy link
Copy link
Closed as not planned
Labels
:StorageEngine/RollupTurn fine-grained time-based data into coarser-grained dataTurn fine-grained time-based data into coarser-grained data>featureTeam:AnalyticsMeta label for analytical engine team (ESQL/Aggs/Geo)Meta label for analytical engine team (ESQL/Aggs/Geo)
Description
Currently searching in rollups is facilitated by a specific endpoint named _rollup_search. For seamless integration of rollups we should remove this endpoint and implement its functionality in the _search endpoint.
When running aggregations using the existing _search endpoint we must implement the following:
- Merge rollup buckets with regular buckets.
- Ensure that partial buckets can merge across shards (e.g. when rollover is not on a clean interval).
- Modify existing aggregators to pull
doc_countfrom rollup indices, rather than just incrementing. This is needed so a "rollup metric" can provide doc counts for avg and bucketing aggregations, by allowing the aggregator framework to treat a single document as if it were multiple docs.
Producing rollups is discussed in #48003
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
:StorageEngine/RollupTurn fine-grained time-based data into coarser-grained dataTurn fine-grained time-based data into coarser-grained data>featureTeam:AnalyticsMeta label for analytical engine team (ESQL/Aggs/Geo)Meta label for analytical engine team (ESQL/Aggs/Geo)
Type
Fields
Give feedbackNo fields configured for issues without a type.