org.apache.lucene.codecs.appending
public class AppendingTermsWriter extends BlockTreeTermsWriter
DEFAULT_MAX_BLOCK_SIZE, DEFAULT_MIN_BLOCK_SIZE, TERMS_INDEX_VERSION_APPEND_ONLY, TERMS_INDEX_VERSION_CURRENT, TERMS_INDEX_VERSION_START, TERMS_VERSION_APPEND_ONLY, TERMS_VERSION_CURRENT, TERMS_VERSION_START| Constructor and Description |
|---|
AppendingTermsWriter(SegmentWriteState state,
PostingsWriterBase postingsWriter,
int minItemsInBlock,
int maxItemsInBlock) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
writeHeader(IndexOutput out) |
protected void |
writeIndexHeader(IndexOutput out) |
protected void |
writeIndexTrailer(IndexOutput indexOut,
long dirStart) |
protected void |
writeTrailer(IndexOutput out,
long dirStart) |
addField, closemergepublic AppendingTermsWriter(SegmentWriteState state, PostingsWriterBase postingsWriter, int minItemsInBlock, int maxItemsInBlock) throws IOException
IOExceptionprotected void writeHeader(IndexOutput out) throws IOException
writeHeader in class BlockTreeTermsWriterIOExceptionprotected void writeIndexHeader(IndexOutput out) throws IOException
writeIndexHeader in class BlockTreeTermsWriterIOExceptionprotected void writeTrailer(IndexOutput out, long dirStart) throws IOException
writeTrailer in class BlockTreeTermsWriterIOExceptionprotected void writeIndexTrailer(IndexOutput indexOut, long dirStart) throws IOException
writeIndexTrailer in class BlockTreeTermsWriterIOExceptionCopyright © 2000-2014 Apache Software Foundation. All Rights Reserved.