Skip to content

Commit

Permalink
fully check index file
Browse files Browse the repository at this point in the history
  • Loading branch information
dnhatn committed Jul 29, 2022
1 parent eb868eb commit ab24abc
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -287,6 +287,8 @@ public int size() {

@Override
public void checkIntegrity() throws IOException {
// already fully checked the meta file; let's fully checked the index file.
CodecUtil.checksumEntireFile(indexIn);
termsReader.checkIntegrity();
}

Expand Down

0 comments on commit ab24abc

Please sign in to comment.