forked from opensearch-project/OpenSearch
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Improving the performance of date histogram aggregation (without any …
…sub-aggregation) (opensearch-project#11083) * Adding filter based optimization logic to date histogram aggregation Signed-off-by: Ankit Jain <akjain@amazon.com> * Reading the field name for aggregation correctly Signed-off-by: Ankit Jain <akjain@amazon.com> * Adding the limit on number of buckets for filter aggregation Signed-off-by: Ankit Jain <akjain@amazon.com> * Applying the optimizations for match all query as well Signed-off-by: Ankit Jain <akjain@amazon.com> * Handling the unwrapped match all query Signed-off-by: Ankit Jain <akjain@amazon.com> * Adding logic for recursively unwrapping the query Signed-off-by: Ankit Jain <akjain@amazon.com> * Restructuring the code for making it more reusable and unit testable Signed-off-by: Ankit Jain <akjain@amazon.com> * Adding javadocs for fixing build failure Signed-off-by: Ankit Jain <akjain@amazon.com> * Fixing minor bugs in refactoring Signed-off-by: Ankit Jain <akjain@amazon.com> * Adding logic for optimizing auto date histogram Signed-off-by: Ankit Jain <akjain@amazon.com> * Fixing bugs and passing unit tests for date histogram Signed-off-by: Ankit Jain <akjain@amazon.com> * Temporarily reverting auto date histogram changes Signed-off-by: Ankit Jain <akjain@amazon.com> * Fixing spotless check bugs Signed-off-by: Ankit Jain <akjain@amazon.com> * Adding back auto date histogram and passing all unit tests Signed-off-by: Ankit Jain <akjain@amazon.com> * Fixing the integration tests for reduced collector work Signed-off-by: Ankit Jain <akjain@amazon.com> * Fixing the integration test regression Signed-off-by: Ankit Jain <akjain@amazon.com> * Addressing code review comments Signed-off-by: Ankit Jain <akjain@amazon.com> * Fixing hardbound, missing and script test cases Signed-off-by: Ankit Jain <akjain@amazon.com> * Removing collect_count validation to prevent backward compatibility tests from failing Signed-off-by: Ankit Jain <akjain@amazon.com> * Finally fixing hardbounds test case Signed-off-by: Ankit Jain <akjain@amazon.com> * Refactoring code for reusability Signed-off-by: Ankit Jain <akjain@amazon.com> --------- Signed-off-by: Ankit Jain <akjain@amazon.com>
- Loading branch information
1 parent
4387cb8
commit d1310b8
Showing
8 changed files
with
456 additions
and
20 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.