-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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] FIX: UOE While building Exists query for nested search_as_you_type field #13006
[Backport 2.x] FIX: UOE While building Exists query for nested search_as_you_type field #13006
Conversation
…eld (opensearch-project#12048) The "exists" query on an object field would fail when a "search_as_you_type" field is nested under that object. It would also fail for a text field with prefixes enabled nested under the object, or any other field with a "hidden" subfield. --------- Signed-off-by: Mrudhul Guda <[email protected]> (cherry picked from commit 37569ba)
Compatibility status:Checks if related components are compatible with change 80f59e7 Incompatible componentsSkipped componentsCompatible componentsCompatible components: [https://github.com/opensearch-project/custom-codecs.git, https://github.com/opensearch-project/asynchronous-search.git, https://github.com/opensearch-project/anomaly-detection.git, https://github.com/opensearch-project/flow-framework.git, https://github.com/opensearch-project/cross-cluster-replication.git, https://github.com/opensearch-project/reporting.git, https://github.com/opensearch-project/job-scheduler.git, https://github.com/opensearch-project/common-utils.git, https://github.com/opensearch-project/geospatial.git, https://github.com/opensearch-project/neural-search.git, https://github.com/opensearch-project/alerting.git, https://github.com/opensearch-project/k-nn.git, https://github.com/opensearch-project/security-analytics.git, https://github.com/opensearch-project/performance-analyzer-rca.git, https://github.com/opensearch-project/notifications.git, https://github.com/opensearch-project/observability.git, https://github.com/opensearch-project/security.git, https://github.com/opensearch-project/ml-commons.git, https://github.com/opensearch-project/index-management.git, https://github.com/opensearch-project/performance-analyzer.git, https://github.com/opensearch-project/sql.git] |
❕ Gradle check result for 1dec5ce: UNSTABLE
Please review all flaky tests that succeeded after retry and create an issue if one does not already exist to track the flaky failure. |
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## 2.x #13006 +/- ##
============================================
- Coverage 71.28% 71.07% -0.21%
- Complexity 60145 60560 +415
============================================
Files 4957 5003 +46
Lines 282799 285267 +2468
Branches 41409 41709 +300
============================================
+ Hits 201591 202755 +1164
- Misses 64189 65406 +1217
- Partials 17019 17106 +87 ☔ View full report in Codecov by Sentry. |
Signed-off-by: Michael Froh <[email protected]>
❌ Gradle check result for 80f59e7: TIMEOUT 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? |
Signed-off-by: Michael Froh <[email protected]>
The "exists" query on an object field would fail when a "search_as_you_type" field is nested under that object.
It would also fail for a text field with prefixes enabled nested under the object, or any other field with a "hidden" subfield.
Signed-off-by: Mrudhul Guda [email protected]
(cherry picked from commit 37569ba)
Manual backport of #12048
Related Issues
Resolves #11821
Check List
New functionality has been documented.New functionality has javadoc addedPublic documentation issue/PR createdBy 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.