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, getComparatorcanMerge, getDocValuesForMerge, getDocValuesType, mergepublic static final String DOC_VALUES_SEGMENT_SUFFIX
public Lucene40DocValuesConsumer(PerDocWriteState state, String segmentSuffix)
protected Directory getDirectory() throws IOException
DocValuesWriterBaseDirectory that files should be
written to.getDirectory in class DocValuesWriterBaseIOExceptionpublic void close()
throws IOException
close in interface Closeableclose in class DocValuesWriterBaseIOExceptionpublic void abort()
PerDocConsumerabort in class PerDocConsumerCopyright © 2000-2013 Apache Software Foundation. All Rights Reserved.