Show only intersecting buckets to the Adjacency matrix aggregation#11733
Conversation
Compatibility status:Checks if related components are compatible with change dc5897b Incompatible componentsSkipped componentsCompatible componentsCompatible components: [https://github.com/opensearch-project/custom-codecs.git, https://github.com/opensearch-project/flow-framework.git, https://github.com/opensearch-project/observability.git, https://github.com/opensearch-project/job-scheduler.git, https://github.com/opensearch-project/cross-cluster-replication.git, https://github.com/opensearch-project/geospatial.git, https://github.com/opensearch-project/opensearch-oci-object-storage.git, https://github.com/opensearch-project/sql.git, https://github.com/opensearch-project/k-nn.git, https://github.com/opensearch-project/neural-search.git, https://github.com/opensearch-project/notifications.git, https://github.com/opensearch-project/security-analytics.git, https://github.com/opensearch-project/asynchronous-search.git, https://github.com/opensearch-project/ml-commons.git, https://github.com/opensearch-project/reporting.git, https://github.com/opensearch-project/performance-analyzer-rca.git, https://github.com/opensearch-project/index-management.git, https://github.com/opensearch-project/common-utils.git, https://github.com/opensearch-project/anomaly-detection.git, https://github.com/opensearch-project/security.git, https://github.com/opensearch-project/alerting.git, https://github.com/opensearch-project/performance-analyzer.git] |
|
❌ Gradle check result for 68d1746: FAILURE Please examine the workflow log, locate, and copy-paste the failure(s) below, then iterate to green. Is the failure a flaky test unrelated to your change? |
|
Apparently failed with Jenkins error Local execution |
Signed-off-by: Ivan Brusic <ivan@brusic.com>
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #11733 +/- ##
============================================
- Coverage 72.20% 72.19% -0.01%
+ Complexity 65289 65254 -35
============================================
Files 5299 5299
Lines 303536 303560 +24
Branches 43941 43946 +5
============================================
- Hits 219180 219167 -13
- Misses 66441 66452 +11
- Partials 17915 17941 +26 ☔ View full report in Codecov by Sentry. |
|
Thanks @brusic! There are a couple of commits that are not signed off (with Also, could you please add a changelog entry to https://github.com/opensearch-project/OpenSearch/blob/main/CHANGELOG.md? |
Signed-off-by: Ivan Brusic <ivan@brusic.com>
0d7fd10 to
cb96ab7
Compare
|
❌ Gradle check result for cb96ab7: FAILURE Please examine the workflow log, locate, and copy-paste the failure(s) below, then iterate to green. Is the failure a flaky test unrelated to your change? |
cb96ab7 to
5610ad1
Compare
Signed-off-by: Ivan Brusic <ivan@brusic.com> Consistent naming (opensearch-project#11733) Signed-off-by: Ivan Brusic <ivan@brusic.com> Spotless fix (opensearch-project#11733) Signed-off-by: Ivan Brusic <ivan@brusic.com> Skip versions for BWC (opensearch-project#11733) Signed-off-by: Ivan Brusic <ivan@brusic.com> Cannot find the source of Invalid string; unexpected character: 128 hex: 80] (Euro sign) (opensearch-project#11733) Signed-off-by: Ivan Brusic <ivan@brusic.com> Add node_selector (opensearch-project#11733) Signed-off-by: Ivan Brusic <ivan@brusic.com> Add BWC checks in serialized object (opensearch-project#11733) Add BWC checks in REST api test (opensearch-project#11733) Signed-off-by: Ivan Brusic <ivan@brusic.com>
Signed-off-by: Ivan Brusic <ivan@brusic.com> Consistent naming (opensearch-project#11733) Signed-off-by: Ivan Brusic <ivan@brusic.com> Spotless fix (opensearch-project#11733) Signed-off-by: Ivan Brusic <ivan@brusic.com> Skip versions for BWC (opensearch-project#11733) Signed-off-by: Ivan Brusic <ivan@brusic.com> Cannot find the source of Invalid string; unexpected character: 128 hex: 80] (Euro sign) (opensearch-project#11733) Signed-off-by: Ivan Brusic <ivan@brusic.com> Add node_selector (opensearch-project#11733) Signed-off-by: Ivan Brusic <ivan@brusic.com> Add BWC checks in serialized object (opensearch-project#11733) Add BWC checks in REST api test (opensearch-project#11733) Signed-off-by: Ivan Brusic <ivan@brusic.com> Add more tests to increase code coverage
5610ad1 to
02f135f
Compare
… aggregation (#17006) * Show only intersecting buckets to the Adjacency matrix aggregation (#11733) Signed-off-by: Ivan Brusic <ivan@brusic.com> (cherry picked from commit 8d5e1a3) Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> * Update version checks for backport Signed-off-by: Michael Froh <froh@amazon.com> --------- Signed-off-by: Ivan Brusic <ivan@brusic.com> Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> Signed-off-by: Michael Froh <froh@amazon.com> Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> Co-authored-by: Michael Froh <froh@amazon.com>
…pensearch-project#11733) Signed-off-by: Ivan Brusic <ivan@brusic.com>
|
@brusic FYI, there are flaky tests very luckily caused by this change: I think it should be fixed by #17030, but would be great to double check. Thank you. |
|
I will check before and after the fix. Is there a branch to check before the backport version check? |
I think we don't need to check before the backport, just main is stable and this tests are not flaky, thank you |
Re-release of a previous PR that did not correctly sign the commit
Description
Show only intersecting buckets to the Adjacency matrix aggregation
The Adjacency matrix aggregation will compute and return all buckets related to any of the combinations of the filters specified, including hits on a single filter. However, sometimes a user would want to return only the buckets related to an intersection and not for a single filter. An optional show_only_intersecting parameter would stop buckets resulting from a single filter being hit to be created.
Related Issues
#8832
Check List
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.