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) |
merge
protected final PerDocWriteState state
protected final String segmentSuffix
public SimpleTextNormsFormat.SimpleTextNormsPerDocConsumer(PerDocWriteState state)
protected DocValues getDocValuesForMerge(AtomicReader reader, FieldInfo info) throws IOException
getDocValuesForMerge
in class PerDocConsumer
IOException
protected boolean canMerge(FieldInfo info)
canMerge
in class PerDocConsumer
protected DocValues.Type getDocValuesType(FieldInfo info)
getDocValuesType
in class PerDocConsumer
public void abort()
public void close() throws IOException
close
in interface Closeable
close
in class PerDocConsumer
IOException
public DocValuesConsumer addValuesField(DocValues.Type type, FieldInfo field) throws IOException
addValuesField
in class PerDocConsumer
IOException
Copyright © 2000-2013 Apache Software Foundation. All Rights Reserved.