Class DISIAccumulator

java.lang.Object
org.elasticsearch.index.codec.tsdb.DISIAccumulator
All Implemented Interfaces:
Closeable, AutoCloseable

public final class DISIAccumulator extends Object implements Closeable
Fork of IndexedDISI.writeBitSet(DocIdSetIterator, IndexOutput) but that allows building jump list iteratively by one docid at a time instead of relying on docidset iterator.
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final int
     
  • Constructor Summary

    Constructors
    Constructor
    Description
    DISIAccumulator(org.apache.lucene.store.Directory dir, org.apache.lucene.store.IOContext context, org.apache.lucene.store.IndexOutput data, byte denseRankPower)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    addDocId(int doc)
     
    short
    build(org.apache.lucene.store.IndexOutput data)
     
    void
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

  • Constructor Details

    • DISIAccumulator

      public DISIAccumulator(org.apache.lucene.store.Directory dir, org.apache.lucene.store.IOContext context, org.apache.lucene.store.IndexOutput data, byte denseRankPower) throws IOException
      Throws:
      IOException
  • Method Details