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

[Backport 2.17] optimize bucket level monitor to resolve alias to query only those time-series indices that contain docs within timeframe of range query filter in search input #1713

Merged
merged 1 commit into from
Oct 21, 2024

Conversation

opensearch-trigger-bot[bot]
Copy link
Contributor

Backport e3c9fc2 from #1701.

…me-series indices that contain docs within timeframe of range query filter in search input (#1701)

* optimize bucket level monitor to resolve alias to query only those time-series indices that contain docs within timeframe of range query filter in search input

Signed-off-by: Surya Sashank Nistala <[email protected]>

* add tests to verify alias based optimziation scenarios

Signed-off-by: Surya Sashank Nistala <[email protected]>

* fix tests to verify aggregation query on alias optimziation with indices being skipped and not skipped

Signed-off-by: Surya Sashank Nistala <[email protected]>

* null check addded

Signed-off-by: Surya Sashank Nistala <[email protected]>

---------

Signed-off-by: Surya Sashank Nistala <[email protected]>
(cherry picked from commit e3c9fc2)
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
@eirsep eirsep merged commit bd82fa1 into 2.17 Oct 21, 2024
34 of 35 checks passed
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