org.apache.lucene.codecs.appending
Class AppendingTermsReader
java.lang.Object
org.apache.lucene.index.Fields
org.apache.lucene.codecs.FieldsProducer
org.apache.lucene.codecs.BlockTreeTermsReader
org.apache.lucene.codecs.appending.AppendingTermsReader
- All Implemented Interfaces:
- Closeable, Iterable<String>
public class AppendingTermsReader
- extends BlockTreeTermsReader
Reads append-only terms from AppendingTermsWriter
- WARNING: This API is experimental and might change in incompatible ways in the next release.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AppendingTermsReader
public AppendingTermsReader(Directory dir,
FieldInfos fieldInfos,
SegmentInfo info,
PostingsReaderBase postingsReader,
IOContext ioContext,
String segmentSuffix,
int indexDivisor)
throws IOException
- Throws:
IOException
readHeader
protected void readHeader(IndexInput input)
throws IOException
- Overrides:
readHeader
in class BlockTreeTermsReader
- Throws:
IOException
readIndexHeader
protected void readIndexHeader(IndexInput input)
throws IOException
- Overrides:
readIndexHeader
in class BlockTreeTermsReader
- Throws:
IOException
seekDir
protected void seekDir(IndexInput input,
long dirOffset)
throws IOException
- Overrides:
seekDir
in class BlockTreeTermsReader
- Throws:
IOException
Copyright © 2000-2012 Apache Software Foundation. All Rights Reserved.