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

Check Terms#intersect in CheckIndex. #12925

Merged
merged 1 commit into from
Dec 12, 2023

Conversation

jpountz
Copy link
Contributor

@jpountz jpountz commented Dec 12, 2023

This commit adds coverage for Terms#intersect to CheckIndex and indexes LineFileDocs in BasePostingsFormatTestCase to get some coverage with real-world data.

With this change, TestLucene90PostingsFormat now exhibits #12895.

This commit adds coverage to `Terms#intersect` to `CheckIndex` and indexes
`LineFileDocs` in `BasePostingsFormatTestCase` to get some coverage with
real-world data.

With this change, `TestLucene90PostingsFormat` now exhibits apache#12895.
@mikemccand
Copy link
Member

With this change, TestLucene90PostingsFormat now exhibits #12895.

Oooh that's aweosme! I'll review.

Copy link
Member

@mikemccand mikemccand left a comment

Choose a reason for hiding this comment

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

Thanks @jpountz -- that's really awesome you were able to reveal the read-time corruption just by indexing and checking (including the new intersect terms enum check) line file docs!

@jpountz jpountz merged commit e0f4321 into apache:main Dec 12, 2023
4 checks passed
@jpountz jpountz deleted the add_line_file_docs_postings_tests branch December 12, 2023 13:08
jpountz added a commit that referenced this pull request Dec 12, 2023
This commit adds coverage to `Terms#intersect` to `CheckIndex` and indexes
`LineFileDocs` in `BasePostingsFormatTestCase` to get some coverage with
real-world data.

With this change, `TestLucene90PostingsFormat` now exhibits #12895.
jpountz added a commit that referenced this pull request Dec 12, 2023
This commit adds coverage to `Terms#intersect` to `CheckIndex` and indexes
`LineFileDocs` in `BasePostingsFormatTestCase` to get some coverage with
real-world data.

With this change, `TestLucene90PostingsFormat` now exhibits #12895.
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