public class Siren10SkipListReader
extends org.apache.lucene.codecs.MultiLevelSkipListReader
MultiLevelSkipListReader
for the default
block-based posting list format of SIREn 1.0.
The MultiLevelSkipListReader
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 and vice versa.
Siren10SkipListWriter
Modifier and Type | Method and Description |
---|---|
protected int |
readSkipData(int level,
org.apache.lucene.store.IndexInput skipStream) |
protected void |
seekChild(int level) |
protected void |
setLastSkipData(int level) |
int |
skipTo(int target) |
protected void seekChild(int level) throws IOException
seekChild
in class org.apache.lucene.codecs.MultiLevelSkipListReader
IOException
protected void setLastSkipData(int level)
setLastSkipData
in class org.apache.lucene.codecs.MultiLevelSkipListReader
protected int readSkipData(int level, org.apache.lucene.store.IndexInput skipStream) throws IOException
readSkipData
in class org.apache.lucene.codecs.MultiLevelSkipListReader
IOException
public int skipTo(int target) throws IOException
skipTo
in class org.apache.lucene.codecs.MultiLevelSkipListReader
IOException
Copyright © 2014. All rights reserved.