public static class SimpleTextNormsFormat.SimpleTextNormsPerDocConsumer extends PerDocConsumer
FOR RECREATIONAL USE ONLY
| Modifier and Type | Field and Description |
|---|---|
protected String |
segmentSuffix |
protected PerDocWriteState |
state |
| Constructor and Description |
|---|
SimpleTextNormsFormat.SimpleTextNormsPerDocConsumer(PerDocWriteState state) |
| Modifier and Type | Method and Description |
|---|---|
void |
abort() |
DocValuesConsumer |
addValuesField(DocValues.Type type,
FieldInfo field) |
protected boolean |
canMerge(FieldInfo info) |
void |
close() |
protected DocValues |
getDocValuesForMerge(AtomicReader reader,
FieldInfo info) |
protected DocValues.Type |
getDocValuesType(FieldInfo info) |
mergeprotected final PerDocWriteState state
protected final String segmentSuffix
public SimpleTextNormsFormat.SimpleTextNormsPerDocConsumer(PerDocWriteState state)
protected DocValues getDocValuesForMerge(AtomicReader reader, FieldInfo info) throws IOException
getDocValuesForMerge in class PerDocConsumerIOExceptionprotected boolean canMerge(FieldInfo info)
canMerge in class PerDocConsumerprotected DocValues.Type getDocValuesType(FieldInfo info)
getDocValuesType in class PerDocConsumerpublic void abort()
public void close()
throws IOException
close in interface Closeableclose in class PerDocConsumerIOExceptionpublic DocValuesConsumer addValuesField(DocValues.Type type, FieldInfo field) throws IOException
addValuesField in class PerDocConsumerIOExceptionCopyright © 2000-2013 Apache Software Foundation. All Rights Reserved.