Class PostingIndexInput

java.lang.Object
org.apache.lucene.codecs.lucene104.PostingIndexInput

public final class PostingIndexInput extends Object
Wrapper around an IndexInput and a ForUtil that optionally optimizes decoding using vectorization. This class mostly exists to enable benchmarking the decoding logic of postings since it internally calls code that may only be called from the lucene-core JAR.
  • Field Details

    • forUtil

      public final ForUtil forUtil
  • Constructor Details

  • Method Details

    • decode

      public void decode(int bitsPerValue, int[] ints) throws IOException
      Decode 256 integers stored on bitsPerValues bits per value into ints.
      Throws:
      IOException