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,
Iterable<Number> values)
Writes normalization values for a field.
|
void |
close() |
merge, mergeNormsFieldpublic SimpleTextNormsConsumer(SegmentWriteState state) throws IOException
IOExceptionpublic void addNormsField(FieldInfo field, Iterable<Number> values) throws IOException
NormsConsumeraddNormsField in class NormsConsumerfield - field informationvalues - Iterable of numeric values (one for each document).IOException - if an I/O error occurred.public void close()
throws IOException
IOExceptionCopyright © 2000–2015 The Apache Software Foundation. All rights reserved.