-
Notifications
You must be signed in to change notification settings - Fork 2.3k
Support for IndexSort in Nested Fields #18536
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
Support for IndexSort in Nested Fields #18536
Conversation
|
❌ Gradle check result for b6fadef: 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? |
|
@vishdivs Can you add a bwc test for the same ? |
@vibrantvarun, I have already added validation check related to Index Version here |
|
❕ Gradle check result for 2fcc7ab: 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. |
|
❌ Gradle check result for 9a6bc69: 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? |
Signed-off-by: Divyansh Sharma <vishdivs@amazon.com>
|
❌ Gradle check result for 8290e71: 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? |
|
❌ Gradle check result for 8290e71: 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? |
9eafe79 to
30a4c33
Compare
|
❌ Gradle check result for 30a4c33: 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? |
30a4c33 to
2417780
Compare
|
❌ Gradle check result for 2417780: 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? |
Signed-off-by: Divyansh Sharma <vishdivs@amazon.com>
2417780 to
ec36808
Compare
|
❌ Gradle check result for ec36808: 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? |
|
❌ Gradle check result for ec36808: 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? |
|
❌ Gradle check result for be97692: null 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? |
…ds_with_index_sort_final2
be97692 to
1e1fffe
Compare
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #18536 +/- ##
============================================
+ Coverage 72.75% 72.87% +0.11%
- Complexity 68520 68641 +121
============================================
Files 5570 5572 +2
Lines 314998 315196 +198
Branches 45697 45750 +53
============================================
+ Hits 229185 229686 +501
+ Misses 67260 66865 -395
- Partials 18553 18645 +92 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
40e9e40
into
opensearch-project:main
* Support for IndexSort in Nested Fields Signed-off-by: Divyansh Sharma <vishdivs@amazon.com> * Updating the New Feature to V3.2.0 Signed-off-by: Divyansh Sharma <vishdivs@amazon.com> * Addressing comments and adding Unit test Signed-off-by: Divyansh Sharma <vishdivs@amazon.com> * Adding unit test with merge segments Signed-off-by: Divyansh Sharma <vishdivs@amazon.com> * Fixing rest-api-spec test and falky test Signed-off-by: Divyansh Sharma <vishdivs@amazon.com> --------- Signed-off-by: Divyansh Sharma <vishdivs@amazon.com> Co-authored-by: Divyansh Sharma <vishdivs@amazon.com>
* Support for IndexSort in Nested Fields Signed-off-by: Divyansh Sharma <vishdivs@amazon.com> * Updating the New Feature to V3.2.0 Signed-off-by: Divyansh Sharma <vishdivs@amazon.com> * Addressing comments and adding Unit test Signed-off-by: Divyansh Sharma <vishdivs@amazon.com> * Adding unit test with merge segments Signed-off-by: Divyansh Sharma <vishdivs@amazon.com> * Fixing rest-api-spec test and falky test Signed-off-by: Divyansh Sharma <vishdivs@amazon.com> --------- Signed-off-by: Divyansh Sharma <vishdivs@amazon.com> Co-authored-by: Divyansh Sharma <vishdivs@amazon.com>
Description
Since Lucene now supports IndexWriterConfig#setParentField for creating an internal field to enable index sorting, OpenSearch needs to integrate this functionality by setting the Parent Field in appropriate workflows with proper validations.
#17026 (comment)
Related Issues
Resolves #[Issue number to be closed when this PR is merged]
#17026
Testing Details:
Testing case 1: Before the Changes
Result for this:
Testing case 2: Testing when Index Sort field is inside Nested Field (With Validation)
Result:
Test case 3:
Tested with the search query and result:
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.