Skip to content

[Star Tree] [Search] Nested Bucket Aggregations #17274

@sandeshkr419

Description

@sandeshkr419

Is your feature request related to a problem? Please describe

The following aggregations are already supported/in-flight which can be resolved via star-tree:

  • Numeric terms
  • Keyword terms
  • Date histograms
  • Range aggregations
  • Metric aggregations

Right now, in these aggregations, the child aggregation is only restricted to metric aggregations. We can actually support nesting of the above aggregations as well with the existing framework.

Describe the solution you'd like

Benchmark the different nested aggregations to see performance improvements with the usage of star-tree resolution.

While setting up star-tree we do a very strict matching on query shapes right now. This should ideally be a recursive query matching to see valid query shapes which can be resolved via star-tree.

Related component

Search:Aggregations

Describe alternatives you've considered

No response

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    Status

    ✅ Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions