Skip to content

Integrate rollup search with _search endpoint #48005

Closed as not planned
Closed as not planned
@csoulios

Description

@csoulios

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_count from 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

Metadata

Metadata

Assignees

No one assigned

    Labels

    :StorageEngine/RollupTurn fine-grained time-based data into coarser-grained data>featureTeam:AnalyticsMeta label for analytical engine team (ESQL/Aggs/Geo)

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions