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.x] 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 #1712

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 <snistala@amazon.com>

* add tests to verify alias based optimziation scenarios

Signed-off-by: Surya Sashank Nistala <snistala@amazon.com>

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

Signed-off-by: Surya Sashank Nistala <snistala@amazon.com>

* null check addded

Signed-off-by: Surya Sashank Nistala <snistala@amazon.com>

---------

Signed-off-by: Surya Sashank Nistala <snistala@amazon.com>
(cherry picked from commit e3c9fc2)
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
@eirsep eirsep merged commit d4d463c into 2.x Oct 21, 2024
25 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