hound-search/hound

Index is apparently limited to 4 GB

Open

#351 geöffnet am 1. Okt. 2020

Auf GitHub ansehen
 (7 Kommentare) (0 Reaktionen) (0 zugewiesene Personen)JavaScript (606 Forks)batch import
enhancementhelp wanted

Repository-Metriken

Stars
 (5.470 Stars)
PR-Merge-Metriken
 (Keine gemergten PRs in 30 T)

Beschreibung

:wave: Hound developers!

I am trying to index a pretty large repo (144GB - all current sources of openSUSE), and unsurprisingly the index turns out to be larger than 4GB, thus I hit this fatal message:

https://github.com/hound-search/hound/blob/e3b1b43eb872e47af1de1b0e15d0ec3ac5c51dc4/codesearch/index/write.go#L561

Would it be possible / how hard would it be to support larger indexes?

I only had a brief look at read.go and it seems to me that 32 bit offsets are part of the index file format, so changing that would require re-indexing/converting/supporting two file formats, is that correct?

Thanks for all your efforts on Hound!

Contributor Guide