factory.setFreqBlockCompressor(new VIntBlockCompressor());
return factory.createDocsFreqOutput(directory, "test", newIOContext(random()));
}
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()));
}