-
Notifications
You must be signed in to change notification settings - Fork 49
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix incorrect counter configuration that was causing array out of bou…
…nds errors (#163) Related to #158 Make the hit counter allocate reader.maxDocs instead of reader.numDocs, because reader.numDocs gets decreased when docs get deleted, even though the largest docId will still be the same. Also made the testing a bit more robust.
- Loading branch information
1 parent
1968edb
commit 20a94b7
Showing
2 changed files
with
51 additions
and
37 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters