org.apache.lucene.codecs.blockterms
Class BlockTermsWriter
java.lang.Object
org.apache.lucene.codecs.FieldsConsumer
org.apache.lucene.codecs.blockterms.BlockTermsWriter
- All Implemented Interfaces:
- Closeable
public class BlockTermsWriter
- extends FieldsConsumer
Writes terms dict, block-encoding (column stride) each
term's metadata for each set of terms between two
index terms.
- 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 |
VERSION_START
public static final int VERSION_START
- See Also:
- Constant Field Values
VERSION_APPEND_ONLY
public static final int VERSION_APPEND_ONLY
- See Also:
- Constant Field Values
VERSION_CURRENT
public static final int VERSION_CURRENT
- See Also:
- Constant Field Values
out
protected final IndexOutput out
BlockTermsWriter
public BlockTermsWriter(TermsIndexWriterBase termsIndexWriter,
SegmentWriteState state,
PostingsWriterBase postingsWriter)
throws IOException
- Throws:
IOException
addField
public TermsConsumer addField(FieldInfo field)
throws IOException
- Specified by:
addField
in class FieldsConsumer
- Throws:
IOException
close
public void close()
throws IOException
- Specified by:
close
in interface Closeable
- Specified by:
close
in class FieldsConsumer
- Throws:
IOException
Copyright © 2000-2013 Apache Software Foundation. All Rights Reserved.