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

Add option to enable Lucene 8 index compatibility #1953

Merged
merged 50 commits into from
Aug 3, 2022
Merged

Conversation

lintool
Copy link
Member

@lintool lintool commented Aug 2, 2022

My solution to #1952 is to add a flag -lucene8 that abandons consistent tie breaking, so retrieval doesn't need to touch the docvalues. In the regression script, a similar option --lucene8 allows the score matching to be more lenient.

tteofili and others added 30 commits March 22, 2020 18:03
@codecov-commenter
Copy link

Codecov Report

Merging #1953 (9a3e282) into master (2725655) will decrease coverage by 0.01%.
The diff coverage is 40.00%.

@@             Coverage Diff              @@
##             master    #1953      +/-   ##
============================================
- Coverage     60.10%   60.09%   -0.02%     
  Complexity     1061     1061              
============================================
  Files           178      178              
  Lines          9886     9891       +5     
  Branches       1370     1371       +1     
============================================
+ Hits           5942     5944       +2     
- Misses         3439     3441       +2     
- Partials        505      506       +1     
Impacted Files Coverage Δ
...main/java/io/anserini/search/SearchCollection.java 41.63% <0.00%> (-0.26%) ⬇️
src/main/java/io/anserini/search/SearchArgs.java 100.00% <100.00%> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 2725655...9a3e282. Read the comment docs.

Copy link
Collaborator

@tteofili tteofili left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@lintool lintool merged commit cb98607 into master Aug 3, 2022
@lintool lintool deleted the lucene8-compat branch August 3, 2022 12:42
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.

None yet

3 participants