-
Notifications
You must be signed in to change notification settings - Fork 25.6k
Upgrade to Lucene 9.12.0 #113333
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
Upgrade to Lucene 9.12.0 #113333
Conversation
…torScorerFactoryTests (#109303) This commit adds a couple of missing supported checks to org.elasticsearch.vec.VectorScorerFactoryTests. Without these the test try, and fail, to run on Windows.
Updated LuceneDocument to take advantage of looking up feature values on existing features and selecting the max when parsing multi-value sparse vectors
Just doing the minimal fixes to making this pass tests again and compile. One trivial constructor adjustment and a few adjustments to task count expectations in some tests from having Lucene fork less.
Lucene 9.12.0 has been released. This PR is ready of final review. I cannot officially review in GH, but it LGTM. |
My only slight concern is the flat vector formats. Now Lucene 9.12 treats them like exposed normal codecs we need to make sure there aren't any weird name conflicts, etc. with our flat formats. I don't think there should be since ours have a different name. Just wanting to be sure. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I left a note on a TODO, I missed it when reviewing the corresponding PR. We can also address this post-merge. LGTM otherwise.
This commit upgrades to Lucene 9.12.0. Co-authored-by: Adrien Grand <[email protected]> Co-authored-by: Armin Braun <[email protected]> Co-authored-by: Benjamin Trent <[email protected]> Co-authored-by: Chris Hegarty <[email protected]> Co-authored-by: John Wagster <[email protected]> Co-authored-by: Luca Cavanna <[email protected]> Co-authored-by: Mayya Sharipova <[email protected]>
This commit upgrades to Lucene 9.12.0. Co-authored-by: Adrien Grand <[email protected]> Co-authored-by: Armin Braun <[email protected]> Co-authored-by: Benjamin Trent <[email protected]> Co-authored-by: John Wagster <[email protected]> Co-authored-by: Luca Cavanna <[email protected]> Co-authored-by: Mayya Sharipova <[email protected]>
This commit upgrades to Lucene 9.12.0. Co-authored-by: Adrien Grand <[email protected]> Co-authored-by: Armin Braun <[email protected]> Co-authored-by: Benjamin Trent <[email protected]> Co-authored-by: Chris Hegarty <[email protected]> Co-authored-by: John Wagster <[email protected]> Co-authored-by: Luca Cavanna <[email protected]> Co-authored-by: Mayya Sharipova <[email protected]>
This copies the work from apache/lucene#13651 into Elasticsearch. The main reason for the copy is to simply allow it to be deployed & used in Elasticsearch prior to Elasticsearch upgrading to Lucene 10. At which point, we will then use the format as provided by Lucene. This is currently blocked by two pieces of work: blocked by: #112933 blocked by: #113333 After the format is merged, then code will be added for integration tests & integration with Elasticsearch through new index format types in the API.
…ic#113491) This copies the work from apache/lucene#13651 into Elasticsearch. The main reason for the copy is to simply allow it to be deployed & used in Elasticsearch prior to Elasticsearch upgrading to Lucene 10. At which point, we will then use the format as provided by Lucene. This is currently blocked by two pieces of work: blocked by: elastic#112933 blocked by: elastic#113333 After the format is merged, then code will be added for integration tests & integration with Elasticsearch through new index format types in the API.
…) (#114362) This copies the work from apache/lucene#13651 into Elasticsearch. The main reason for the copy is to simply allow it to be deployed & used in Elasticsearch prior to Elasticsearch upgrading to Lucene 10. At which point, we will then use the format as provided by Lucene. This is currently blocked by two pieces of work: blocked by: #112933 blocked by: #113333 After the format is merged, then code will be added for integration tests & integration with Elasticsearch through new index format types in the API. Co-authored-by: Elastic Machine <[email protected]>
…ic#113491) This copies the work from apache/lucene#13651 into Elasticsearch. The main reason for the copy is to simply allow it to be deployed & used in Elasticsearch prior to Elasticsearch upgrading to Lucene 10. At which point, we will then use the format as provided by Lucene. This is currently blocked by two pieces of work: blocked by: elastic#112933 blocked by: elastic#113333 After the format is merged, then code will be added for integration tests & integration with Elasticsearch through new index format types in the API.
…ic#113491) This copies the work from apache/lucene#13651 into Elasticsearch. The main reason for the copy is to simply allow it to be deployed & used in Elasticsearch prior to Elasticsearch upgrading to Lucene 10. At which point, we will then use the format as provided by Lucene. This is currently blocked by two pieces of work: blocked by: elastic#112933 blocked by: elastic#113333 After the format is merged, then code will be added for integration tests & integration with Elasticsearch through new index format types in the API.
Upgrade to Lucene 9.12
This PR will be squash-merged, so as to simplify the backport to the 8.x branch.