public class Siren10SkipListWriter
extends org.apache.lucene.codecs.MultiLevelSkipListWriter
MultiLevelSkipListWriter
for the default
block-based posting list format of SIREn 1.0.
Compared to the original Lucene format, this skip list is only storing the document identifiers and the file pointer of the block within the .doc file.
The MultiLevelSkipListWriter
implementation is based on document
count, but it is used here with block count instead of document count.
In order to make it compatible with block, this class is converting
document count into block count.
Modifier and Type | Method and Description |
---|---|
protected void |
resetSkip(BlockIndexOutput.Index topDocIndex)
Called at start of new term
|
protected void |
writeSkipData(int level,
org.apache.lucene.store.IndexOutput skipBuffer) |
protected void resetSkip(BlockIndexOutput.Index topDocIndex) throws IOException
IOException
protected void writeSkipData(int level, org.apache.lucene.store.IndexOutput skipBuffer) throws IOException
writeSkipData
in class org.apache.lucene.codecs.MultiLevelSkipListWriter
IOException
Copyright © 2014. All rights reserved.