Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Optimise time_series aggregation by making use of time series search mode #91767

Closed
wants to merge 4 commits into from

Conversation

martijnvg
Copy link
Member

This adds a time series aggregation implementation to make use of the fact that docids are emitted in tsid and parent bucket ordinal.

This is true when the parent aggregation is data histogram (which is typical), due to the fact that TimeSeriesIndexSearcher emits docs in tsid and timestamp order.

Relates to #74660

…that docids are emitted in tsid and parent bucket ordinal.

This is true when the parent aggregation is data histogram (which is typical),
due to the fact that TimeSeriesIndexSearcher emits docs in tsid and timestamp order.

Relates to elastic#74660
@martijnvg martijnvg force-pushed the time_series_agg_improvement branch from 251d198 to 1c5008f Compare November 23, 2022 13:50
@martijnvg martijnvg closed this Jan 17, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants