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, mergeNormsFieldpublic SimpleTextNormsConsumer(SegmentWriteState state) throws IOException
IOExceptionpublic void addNormsField(FieldInfo field, NormsProducer normsProducer) throws IOException
NormsConsumeraddNormsField in class NormsConsumerfield - field informationnormsProducer - NormsProducer of the numeric norm valuesIOException - if an I/O error occurred.public void close()
throws IOException
IOExceptionCopyright © 2000–2020 The Apache Software Foundation. All rights reserved.