public static class SimpleTextNormsFormat.SimpleTextNormsProducer extends NormsProducer
FOR RECREATIONAL USE ONLY
Constructor and Description |
---|
SimpleTextNormsProducer(SegmentReadState state) |
Modifier and Type | Method and Description |
---|---|
void |
checkIntegrity()
Checks consistency of this producer
|
void |
close() |
Collection<Accountable> |
getChildResources()
Returns nested resources of this class.
|
NumericDocValues |
getNorms(FieldInfo field)
Returns
NumericDocValues for this field. |
long |
ramBytesUsed()
Return the memory usage of this object in bytes.
|
String |
toString() |
getMergeInstance
public SimpleTextNormsProducer(SegmentReadState state) throws IOException
IOException
public NumericDocValues getNorms(FieldInfo field) throws IOException
NormsProducer
NumericDocValues
for this field.
The returned instance need not be thread-safe: it will only be
used by a single thread.getNorms
in class NormsProducer
IOException
public void close() throws IOException
IOException
public long ramBytesUsed()
Accountable
public Collection<Accountable> getChildResources()
Accountable
Accountables
public void checkIntegrity() throws IOException
NormsProducer
Note that this may be costly in terms of I/O, e.g. may involve computing a checksum value against large data files.
checkIntegrity
in class NormsProducer
IOException
Copyright © 2000–2015 The Apache Software Foundation. All rights reserved.