Description
BKDWriter writes doc ids using 4 bytes per document. I think it should compress similarly to postings when all docs in a block have the same packed value. This can happen either when a field has a default value which is common across documents or when quantization makes the number of unique values so small that a large index will necessarily have blocks that all contain the same value (eg. there are only 63490 unique half-float values).