public class BlockTermsWriter extends FieldsConsumer implements java.io.Closeable
| Modifier and Type | Field and Description |
|---|---|
protected IndexOutput |
out |
static int |
VERSION_CURRENT |
static int |
VERSION_START |
| Constructor and Description |
|---|
BlockTermsWriter(TermsIndexWriterBase termsIndexWriter,
SegmentWriteState state,
PostingsWriterBase postingsWriter) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
void |
write(Fields fields)
Write all fields, terms and postings.
|
mergepublic static final int VERSION_START
public static final int VERSION_CURRENT
protected IndexOutput out
public BlockTermsWriter(TermsIndexWriterBase termsIndexWriter, SegmentWriteState state, PostingsWriterBase postingsWriter) throws java.io.IOException
java.io.IOExceptionpublic void write(Fields fields) throws java.io.IOException
FieldsConsumerNotes:
write in class FieldsConsumerjava.io.IOExceptionpublic void close()
throws java.io.IOException
close in interface java.io.Closeableclose in interface java.lang.AutoCloseableclose in class FieldsConsumerjava.io.IOExceptionCopyright © 2000–2025 The Apache Software Foundation. All rights reserved.