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, mergeNormsField
public SimpleTextNormsConsumer(SegmentWriteState state) throws IOException
IOException
public void addNormsField(FieldInfo field, Iterable<Number> values) throws IOException
NormsConsumer
addNormsField
in class NormsConsumer
field
- field informationvalues
- Iterable of numeric values (one for each document).IOException
- if an I/O error occurred.public void close() throws IOException
IOException