After indexing compress document vectors so they can be written out in a compressed binary format. Delta encode and variable byte sparse vectors. Use https://github.com/lemire/FastPFOR.