-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Update documentation in Lucene104PostingsWriter #15672
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
base: main
Are you sure you want to change the base?
Changes from 1 commit
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -483,7 +483,7 @@ private void flushDocBlock(boolean finishTerm) throws IOException { | |
| level0FreqNormAccumulator.clear(); | ||
| } | ||
|
|
||
| if ((docCount & LEVEL1_MASK) == 0) { // true every 32 blocks (4,096 docs) | ||
| if ((docCount & LEVEL1_MASK) == 0) { // true every 32 blocks (8,192 docs) | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Are there any other similar comments need to be changed? Could we change them all at once?
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Hi, I have just started reading the source code, so now I cannot find other comments that need to be changed. Maybe we could write BLOCK_SIZE*LEVEL1_NUM instead? |
||
| writeLevel1SkipData(); | ||
| level1LastDocID = docID; | ||
| level1CompetitiveFreqNormAccumulator.clear(); | ||
|
|
||
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.
can we either remove this CHANGES entry or fix it?
Uh oh!
There was an error while loading. Please reload this page.
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.
Sure, i have removed this changes entry