Upgrade lucene to version 10.2.1#17961
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 <anijainc@amazon.com>
Signed-off-by: Andrew Ross <andrross@amazon.com>
Signed-off-by: Andrew Ross <andrross@amazon.com>
Signed-off-by: expani <anijainc@amazon.com>
Signed-off-by: expani <anijainc@amazon.com>
Signed-off-by: expani <anijainc@amazon.com>
Signed-off-by: expani <anijainc@amazon.com>
…h current ConstantScoreSupplier Signed-off-by: expani <anijainc@amazon.com>
Signed-off-by: expani <anijainc@amazon.com>
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 <anijainc@amazon.com> * Removed usage of non public constructor for DocIdSetBuilder Signed-off-by: expani <anijainc@amazon.com> * Increment version and fixed another compilation error Signed-off-by: expani <anijainc@amazon.com> * Updating license sha for lucene 10.2.0 Signed-off-by: expani <anijainc@amazon.com> * Upgraded icu4j in conjunction with Lucene 10.2.0 Signed-off-by: expani <anijainc@amazon.com> * update sha for icu4j Signed-off-by: expani <anijainc@amazon.com> * Update to 10.2.1 Signed-off-by: Andrew Ross <andrross@amazon.com> * Add changelog entry Signed-off-by: Andrew Ross <andrross@amazon.com> * Updated test based on Lucene-opensearch-project#14561 Signed-off-by: expani <anijainc@amazon.com> * Updated test based on Lucene-14561 Signed-off-by: expani <anijainc@amazon.com> * Updated test based on Lucene-14561 Signed-off-by: expani <anijainc@amazon.com> * Updated test based on Lucene-14561 Signed-off-by: expani <anijainc@amazon.com> * Delegating nextDoc to advance as previous assumption doesn't hold with current ConstantScoreSupplier Signed-off-by: expani <anijainc@amazon.com> * Implemented cost function Signed-off-by: expani <anijainc@amazon.com> --------- Signed-off-by: expani <anijainc@amazon.com> Signed-off-by: Andrew Ross <andrross@amazon.com> Co-authored-by: Andrew Ross <andrross@amazon.com>
* Upgrade lucene to version 10.2.0 Signed-off-by: expani <anijainc@amazon.com> * Removed usage of non public constructor for DocIdSetBuilder Signed-off-by: expani <anijainc@amazon.com> * Increment version and fixed another compilation error Signed-off-by: expani <anijainc@amazon.com> * Updating license sha for lucene 10.2.0 Signed-off-by: expani <anijainc@amazon.com> * Upgraded icu4j in conjunction with Lucene 10.2.0 Signed-off-by: expani <anijainc@amazon.com> * update sha for icu4j Signed-off-by: expani <anijainc@amazon.com> * Update to 10.2.1 Signed-off-by: Andrew Ross <andrross@amazon.com> * Add changelog entry Signed-off-by: Andrew Ross <andrross@amazon.com> * Updated test based on Lucene-opensearch-project#14561 Signed-off-by: expani <anijainc@amazon.com> * Updated test based on Lucene-14561 Signed-off-by: expani <anijainc@amazon.com> * Updated test based on Lucene-14561 Signed-off-by: expani <anijainc@amazon.com> * Updated test based on Lucene-14561 Signed-off-by: expani <anijainc@amazon.com> * Delegating nextDoc to advance as previous assumption doesn't hold with current ConstantScoreSupplier Signed-off-by: expani <anijainc@amazon.com> * Implemented cost function Signed-off-by: expani <anijainc@amazon.com> --------- Signed-off-by: expani <anijainc@amazon.com> Signed-off-by: Andrew Ross <andrross@amazon.com> Co-authored-by: Andrew Ross <andrross@amazon.com>Signed-off-by: TJ Neuenfeldt <tjneu@amazon.com>
* Upgrade lucene to version 10.2.0 Signed-off-by: expani <anijainc@amazon.com> * Removed usage of non public constructor for DocIdSetBuilder Signed-off-by: expani <anijainc@amazon.com> * Increment version and fixed another compilation error Signed-off-by: expani <anijainc@amazon.com> * Updating license sha for lucene 10.2.0 Signed-off-by: expani <anijainc@amazon.com> * Upgraded icu4j in conjunction with Lucene 10.2.0 Signed-off-by: expani <anijainc@amazon.com> * update sha for icu4j Signed-off-by: expani <anijainc@amazon.com> * Update to 10.2.1 Signed-off-by: Andrew Ross <andrross@amazon.com> * Add changelog entry Signed-off-by: Andrew Ross <andrross@amazon.com> * Updated test based on Lucene-opensearch-project#14561 Signed-off-by: expani <anijainc@amazon.com> * Updated test based on Lucene-14561 Signed-off-by: expani <anijainc@amazon.com> * Updated test based on Lucene-14561 Signed-off-by: expani <anijainc@amazon.com> * Updated test based on Lucene-14561 Signed-off-by: expani <anijainc@amazon.com> * Delegating nextDoc to advance as previous assumption doesn't hold with current ConstantScoreSupplier Signed-off-by: expani <anijainc@amazon.com> * Implemented cost function Signed-off-by: expani <anijainc@amazon.com> --------- Signed-off-by: expani <anijainc@amazon.com> Signed-off-by: Andrew Ross <andrross@amazon.com> Co-authored-by: Andrew Ross <andrross@amazon.com>
Description
Upgrading to Lucene 10.2.1
https://lucene.apache.org/core/10_2_1/changes/Changes.html
Performance Testing Areas