org.apache.lucene.codecs
Class NormsFormat
java.lang.Object
org.apache.lucene.codecs.NormsFormat
- Direct Known Subclasses:
- Lucene40NormsFormat, SimpleTextNormsFormat
public abstract class NormsFormat
- extends Object
format for normalization factors
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
NormsFormat
public NormsFormat()
docsConsumer
public abstract PerDocConsumer docsConsumer(PerDocWriteState state)
throws IOException
- Returns a
PerDocConsumer
to write norms to the
index.
- Throws:
IOException
docsProducer
public abstract PerDocProducer docsProducer(SegmentReadState state)
throws IOException
- Returns a
PerDocProducer
to read norms from the
index.
- Throws:
IOException
Copyright © 2000-2012 Apache Software Foundation. All Rights Reserved.