public static class Lucene40NormsFormat.Lucene40NormsDocValuesConsumer extends Lucene40DocValuesConsumer
Lucene40DocValuesFormatDOC_VALUES_SEGMENT_SUFFIXcontext, DATA_EXTENSION, INDEX_EXTENSION, segmentName| Constructor and Description |
|---|
Lucene40NormsFormat.Lucene40NormsDocValuesConsumer(PerDocWriteState state,
String segmentSuffix)
Sole constructor.
|
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
canMerge(FieldInfo info)
Returns
true iff the given field can be merged ie. |
protected DocValues |
getDocValuesForMerge(AtomicReader reader,
FieldInfo info)
|
protected DocValues.Type |
getDocValuesType(FieldInfo info)
|
abort, close, getDirectoryaddValuesField, getComparatormergepublic Lucene40NormsFormat.Lucene40NormsDocValuesConsumer(PerDocWriteState state, String segmentSuffix)
protected DocValues getDocValuesForMerge(AtomicReader reader, FieldInfo info) throws IOException
PerDocConsumerDocValues instance for merging from the given reader for the given
FieldInfo. This method is used for merging and uses
AtomicReader.docValues(String) by default.
To enable DocValues merging for different DocValues than
the default override this method accordingly.
getDocValuesForMerge in class PerDocConsumerIOExceptionprotected boolean canMerge(FieldInfo info)
PerDocConsumertrue iff the given field can be merged ie. has DocValues.
By default this method uses FieldInfo.hasDocValues().
To enable DocValues merging for different DocValues than
the default override this method accordingly.
canMerge in class PerDocConsumerprotected DocValues.Type getDocValuesType(FieldInfo info)
PerDocConsumerDocValues DocValues.Type for the given FieldInfo.
By default this method uses FieldInfo.getDocValuesType().
To enable DocValues merging for different DocValues than
the default override this method accordingly.
getDocValuesType in class PerDocConsumerCopyright © 2000-2013 Apache Software Foundation. All Rights Reserved.