public class Lucene40DocValuesConsumer extends DocValuesWriterBase
Lucene40DocValuesFormat
Modifier and Type | Field and Description |
---|---|
static String |
DOC_VALUES_SEGMENT_SUFFIX
Segment suffix used when writing doc values index files.
|
context, DATA_EXTENSION, INDEX_EXTENSION, segmentName
Constructor and Description |
---|
Lucene40DocValuesConsumer(PerDocWriteState state,
String segmentSuffix)
Sole constructor.
|
Modifier and Type | Method and Description |
---|---|
void |
abort()
Called during indexing if the indexing session is aborted due to a unrecoverable exception.
|
void |
close() |
protected Directory |
getDirectory()
Returns the
Directory that files should be
written to. |
addValuesField, getComparator
canMerge, getDocValuesForMerge, getDocValuesType, merge
public static final String DOC_VALUES_SEGMENT_SUFFIX
public Lucene40DocValuesConsumer(PerDocWriteState state, String segmentSuffix)
protected Directory getDirectory() throws IOException
DocValuesWriterBase
Directory
that files should be
written to.getDirectory
in class DocValuesWriterBase
IOException
public void close() throws IOException
close
in interface Closeable
close
in class DocValuesWriterBase
IOException
public void abort()
PerDocConsumer
abort
in class PerDocConsumer
Copyright © 2000-2012 Apache Software Foundation. All Rights Reserved.