Module org.apache.lucene.codecs
Class SimpleTextNormsFormat.SimpleTextNormsConsumer
java.lang.Object
org.apache.lucene.codecs.NormsConsumer
org.apache.lucene.codecs.simpletext.SimpleTextNormsFormat.SimpleTextNormsConsumer
- All Implemented Interfaces:
Closeable,AutoCloseable
- Enclosing class:
SimpleTextNormsFormat
Writes plain-text norms.
FOR RECREATIONAL USE ONLY
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddNormsField(FieldInfo field, NormsProducer normsProducer) Writes normalization values for a field.voidclose()Methods inherited from class org.apache.lucene.codecs.NormsConsumer
merge, mergeNormsField
-
Field Details
-
impl
-
-
Constructor Details
-
SimpleTextNormsConsumer
- Throws:
IOException
-
-
Method Details
-
addNormsField
Description copied from class:NormsConsumerWrites normalization values for a field.- Specified by:
addNormsFieldin classNormsConsumer- Parameters:
field- field informationnormsProducer- NormsProducer of the numeric norm values- Throws:
IOException- if an I/O error occurred.
-
close
- Throws:
IOException
-