java.lang.Object
org.elasticsearch.index.codec.tsdb.DISIAccumulator
- All Implemented Interfaces:
Closeable,AutoCloseable
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 -
Constructor Summary
ConstructorsConstructorDescriptionDISIAccumulator(org.apache.lucene.store.Directory dir, org.apache.lucene.store.IOContext context, org.apache.lucene.store.IndexOutput data, byte denseRankPower) -
Method Summary
-
Field Details
-
MAX_ARRAY_LENGTH
public static final int MAX_ARRAY_LENGTH- See Also:
-
-
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
-
addDocId
- Throws:
IOException
-
build
- Throws:
IOException
-
close
- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceCloseable- Throws:
IOException
-