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.10 upgrade #626

Merged
merged 4 commits into from
Mar 6, 2024
Merged

Lucene 9.10 upgrade #626

merged 4 commits into from
Mar 6, 2024

Conversation

sarthakn7
Copy link
Contributor

@sarthakn7 sarthakn7 commented Mar 5, 2024

apache/lucene#12891 moved the check for hits <= 0 to the CollectorManager from Collector. This resulted in throwing an error for queries which request 0 hits, because we were creating the CollectorManager first and then checking the number of hits to retrieve. I have moved this check before the CollectorManager is created by making the code that computes number of hits to collect to a public static function.

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

@sarthakn7 sarthakn7 requested a review from aprudhomme March 6, 2024 01:31
@sarthakn7 sarthakn7 marked this pull request as ready for review March 6, 2024 01:31
@sarthakn7 sarthakn7 merged commit 1c534fe into 1.0.0-SNAPSHOT Mar 6, 2024
1 check failed
@sarthakn7 sarthakn7 deleted the sarthakn_lucene_9.10 branch March 6, 2024 18:56
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