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 TypeMethodDescriptionvoid
addNormsField
(FieldInfo field, NormsProducer normsProducer) Writes normalization values for a field.void
close()
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:NormsConsumer
Writes normalization values for a field.- Specified by:
addNormsField
in classNormsConsumer
- Parameters:
field
- field informationnormsProducer
- NormsProducer of the numeric norm values- Throws:
IOException
- if an I/O error occurred.
-
close
- Throws:
IOException
-