private DocsFreqBlockIndexInput getIndexInput() throws IOException {
final Siren10BlockStreamFactory factory = new Siren10BlockStreamFactory(0);
factory.setDocsBlockDecompressor(new VIntBlockDecompressor());
factory.setFreqBlockDecompressor(new VIntBlockDecompressor());
return factory.openDocsFreqInput(directory, "test", newIOContext(random()));
}
public void testReadDoc() throws IOException {
final DocsFreqBlockIndexOutput out = this.getIndexOutput(512);