Skip to content
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

Lucene 9.8 #624

Merged
merged 4 commits into from
Mar 1, 2024
Merged

Lucene 9.8 #624

merged 4 commits into from
Mar 1, 2024

Conversation

sarthakn7
Copy link
Contributor

@sarthakn7 sarthakn7 commented Mar 1, 2024

Upgrading to Lucene 9.8. Changes:

  1. Calling leafCollector.finish() in MyIndexSearcher like it's added to IndexSearcher in Add a post-collection hook to LeafCollector. apache/lucene#12380. Without this, facet tests were failing since the data structures for adding matching docs were not getting updated. We should also look into removing the overriden search method in MyIndexSearcher - I'm not sure if it's needed now.
  2. Renamed KnnCollector to NrtsearchKnnCollector because Lucene 9.8 adds an interface called KnnCollector: Add ParentJoin KNN support apache/lucene#12434. We should probably look into implementing this.
  3. Getting max vector dimensions from the codec since it's configurable in the codec. The value is still fixed to 1024 for now.

Example plugin test fails because the jar is not uploaded yet.

@sarthakn7 sarthakn7 requested a review from aprudhomme March 1, 2024 23:40
@sarthakn7 sarthakn7 marked this pull request as ready for review March 1, 2024 23:40
@sarthakn7 sarthakn7 merged commit 4159cb5 into 1.0.0-SNAPSHOT Mar 1, 2024
1 check failed
@sarthakn7 sarthakn7 deleted the sarthakn_lucene_9.8 branch March 1, 2024 23:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants