public class AppendingTermsReader extends BlockTreeTermsReader
AppendingTermsWriter
BlockTreeTermsReader.FieldReader, BlockTreeTermsReader.Stats
dirOffset, indexDirOffset
EMPTY_ARRAY
Constructor and Description |
---|
AppendingTermsReader(Directory dir,
FieldInfos fieldInfos,
SegmentInfo info,
PostingsReaderBase postingsReader,
IOContext ioContext,
String segmentSuffix,
int indexDivisor) |
Modifier and Type | Method and Description |
---|---|
protected void |
readHeader(IndexInput input) |
protected void |
readIndexHeader(IndexInput input) |
protected void |
seekDir(IndexInput input,
long dirOffset) |
close, iterator, size, terms
getUniqueTermCount
public AppendingTermsReader(Directory dir, FieldInfos fieldInfos, SegmentInfo info, PostingsReaderBase postingsReader, IOContext ioContext, String segmentSuffix, int indexDivisor) throws IOException
IOException
protected void readHeader(IndexInput input) throws IOException
readHeader
in class BlockTreeTermsReader
IOException
protected void readIndexHeader(IndexInput input) throws IOException
readIndexHeader
in class BlockTreeTermsReader
IOException
protected void seekDir(IndexInput input, long dirOffset) throws IOException
seekDir
in class BlockTreeTermsReader
IOException
Copyright © 2000-2012 Apache Software Foundation. All Rights Reserved.