Do not ignore large files. This removes a condition that ignores large files in the zoekt-archive-index, preventing them from appearing in search results. Indexation of these files is still skipped in the index builder, only filepaths are recorded. Change-Id: I4250899e69f9577c42f5de81e0d5fcbcf322e263
diff --git a/cmd/zoekt-archive-index/main.go b/cmd/zoekt-archive-index/main.go index 75f37d2..8754b4e 100644 --- a/cmd/zoekt-archive-index/main.go +++ b/cmd/zoekt-archive-index/main.go
@@ -159,11 +159,6 @@ add := func(f *File) error { defer f.Close() - // We do not index large files - if f.Size > int64(bopts.SizeMax) && !bopts.IgnoreSizeMax(f.Name) { - return nil - } - contents, err := ioutil.ReadAll(f) if err != nil { return err