public class BlockTermsWriter extends FieldsConsumer implements 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.
|
merge
public static final int VERSION_START
public static final int VERSION_CURRENT
protected IndexOutput out
public BlockTermsWriter(TermsIndexWriterBase termsIndexWriter, SegmentWriteState state, PostingsWriterBase postingsWriter) throws IOException
IOException
public void write(Fields fields) throws IOException
FieldsConsumer
Notes:
write
in class FieldsConsumer
IOException
public void close() throws IOException
close
in interface Closeable
close
in interface AutoCloseable
close
in class FieldsConsumer
IOException
Copyright © 2000–2015 The Apache Software Foundation. All rights reserved.