-
Notifications
You must be signed in to change notification settings - Fork 2.3k
Upgrade lucene to version 10.2.1 #17961
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
Conversation
❌ Gradle check result for 5e74113: 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 93c4e0c: 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 9a34fb8: 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 84276e4: 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? |
@expani see https://github.com/opensearch-project/OpenSearch/pull/17960/files#diff-53173a30404a65ce7f35073d65258143cfa2d47947ff8e0817337ff3d37e01f3L368 -- let's make use of the |
@harshavamsi I was thinking if you can merge the constant scorer change with some context as to why it helps. I can rebase it once merged and fix Lucene 10.2.0 upgrade stuff. I want to focus on test failures in this PR. Like this one
|
sounds good, i'll add some context |
❌ Gradle check result for 48d60bc: 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? |
Failure due to known flaky test #15806 with different seeds
Tried the same with current mainline and it fails as well. So, don't think it's related to Lucene 10.2.0 upgrade. |
Signed-off-by: expani <[email protected]>
Signed-off-by: expani <[email protected]>
Signed-off-by: expani <[email protected]>
Signed-off-by: Andrew Ross <[email protected]>
Signed-off-by: Andrew Ross <[email protected]>
Signed-off-by: expani <[email protected]>
Signed-off-by: expani <[email protected]>
Signed-off-by: expani <[email protected]>
Signed-off-by: expani <[email protected]>
…h current ConstantScoreSupplier Signed-off-by: expani <[email protected]>
Signed-off-by: expani <[email protected]>
d7b39c5
to
9d8ce0b
Compare
@expani What do you think? Should we merge this? |
@andrross @expani @harshavamsi Can we please merge this and follwup on the regressions separately, with a plan for 3.1 |
* Upgrade lucene to version 10.2.0 Signed-off-by: expani <[email protected]> * Removed usage of non public constructor for DocIdSetBuilder Signed-off-by: expani <[email protected]> * Increment version and fixed another compilation error Signed-off-by: expani <[email protected]> * Updating license sha for lucene 10.2.0 Signed-off-by: expani <[email protected]> * Upgraded icu4j in conjunction with Lucene 10.2.0 Signed-off-by: expani <[email protected]> * update sha for icu4j Signed-off-by: expani <[email protected]> * Update to 10.2.1 Signed-off-by: Andrew Ross <[email protected]> * Add changelog entry Signed-off-by: Andrew Ross <[email protected]> * Updated test based on Lucene-opensearch-project#14561 Signed-off-by: expani <[email protected]> * Updated test based on Lucene-14561 Signed-off-by: expani <[email protected]> * Updated test based on Lucene-14561 Signed-off-by: expani <[email protected]> * Updated test based on Lucene-14561 Signed-off-by: expani <[email protected]> * Delegating nextDoc to advance as previous assumption doesn't hold with current ConstantScoreSupplier Signed-off-by: expani <[email protected]> * Implemented cost function Signed-off-by: expani <[email protected]> --------- Signed-off-by: expani <[email protected]> Signed-off-by: Andrew Ross <[email protected]> Co-authored-by: Andrew Ross <[email protected]>
* Upgrade lucene to version 10.2.0 Signed-off-by: expani <[email protected]> * Removed usage of non public constructor for DocIdSetBuilder Signed-off-by: expani <[email protected]> * Increment version and fixed another compilation error Signed-off-by: expani <[email protected]> * Updating license sha for lucene 10.2.0 Signed-off-by: expani <[email protected]> * Upgraded icu4j in conjunction with Lucene 10.2.0 Signed-off-by: expani <[email protected]> * update sha for icu4j Signed-off-by: expani <[email protected]> * Update to 10.2.1 Signed-off-by: Andrew Ross <[email protected]> * Add changelog entry Signed-off-by: Andrew Ross <[email protected]> * Updated test based on Lucene-opensearch-project#14561 Signed-off-by: expani <[email protected]> * Updated test based on Lucene-14561 Signed-off-by: expani <[email protected]> * Updated test based on Lucene-14561 Signed-off-by: expani <[email protected]> * Updated test based on Lucene-14561 Signed-off-by: expani <[email protected]> * Delegating nextDoc to advance as previous assumption doesn't hold with current ConstantScoreSupplier Signed-off-by: expani <[email protected]> * Implemented cost function Signed-off-by: expani <[email protected]> --------- Signed-off-by: expani <[email protected]> Signed-off-by: Andrew Ross <[email protected]> Co-authored-by: Andrew Ross <[email protected]>Signed-off-by: TJ Neuenfeldt <[email protected]>
* Upgrade lucene to version 10.2.0 Signed-off-by: expani <[email protected]> * Removed usage of non public constructor for DocIdSetBuilder Signed-off-by: expani <[email protected]> * Increment version and fixed another compilation error Signed-off-by: expani <[email protected]> * Updating license sha for lucene 10.2.0 Signed-off-by: expani <[email protected]> * Upgraded icu4j in conjunction with Lucene 10.2.0 Signed-off-by: expani <[email protected]> * update sha for icu4j Signed-off-by: expani <[email protected]> * Update to 10.2.1 Signed-off-by: Andrew Ross <[email protected]> * Add changelog entry Signed-off-by: Andrew Ross <[email protected]> * Updated test based on Lucene-opensearch-project#14561 Signed-off-by: expani <[email protected]> * Updated test based on Lucene-14561 Signed-off-by: expani <[email protected]> * Updated test based on Lucene-14561 Signed-off-by: expani <[email protected]> * Updated test based on Lucene-14561 Signed-off-by: expani <[email protected]> * Delegating nextDoc to advance as previous assumption doesn't hold with current ConstantScoreSupplier Signed-off-by: expani <[email protected]> * Implemented cost function Signed-off-by: expani <[email protected]> --------- Signed-off-by: expani <[email protected]> Signed-off-by: Andrew Ross <[email protected]> Co-authored-by: Andrew Ross <[email protected]>
Description
Upgrading to Lucene 10.2.1
https://lucene.apache.org/core/10_2_1/changes/Changes.html
Performance Testing Areas