public static class SimpleTextNormsFormat.SimpleTextNormsConsumer extends NormsConsumer
FOR RECREATIONAL USE ONLY
Constructor and Description |
---|
SimpleTextNormsConsumer(SegmentWriteState state) |
Modifier and Type | Method and Description |
---|---|
void |
addNormsField(FieldInfo field,
NormsProducer normsProducer)
Writes normalization values for a field.
|
void |
close() |
merge, mergeNormsField
public SimpleTextNormsConsumer(SegmentWriteState state) throws IOException
IOException
public void addNormsField(FieldInfo field, NormsProducer normsProducer) throws IOException
NormsConsumer
addNormsField
in class NormsConsumer
field
- field informationnormsProducer
- NormsProducer of the numeric norm valuesIOException
- if an I/O error occurred.public void close() throws IOException
IOException
Copyright © 2000–2020 The Apache Software Foundation. All rights reserved.