Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
lezhnev74 committed Dec 28, 2023
1 parent 8356291 commit 0863bef
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions single/summary.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,12 @@ import (

func PrintSummary(filename string, out io.Writer) error {

i, err := OpenInvertedIndex(filename, DecompressUint64)
i, err := OpenInvertedIndex(filename, DecompressUint32)
if err != nil {
return err
}

r := i.(*InvertedIndex[uint64])
r := i.(*InvertedIndex[uint32])

fileSize := r.mmapFile.Len()
_, fstOffset, fstLen, _, _, _, err := r.readFooter()
Expand Down

0 comments on commit 0863bef

Please sign in to comment.