public abstract class NormsProducer extends java.lang.Object implements java.io.Closeable, Accountable
| Modifier | Constructor and Description |
|---|---|
protected |
NormsProducer()
Sole constructor.
|
| Modifier and Type | Method and Description |
|---|---|
abstract void |
checkIntegrity()
Checks consistency of this producer
|
NormsProducer |
getMergeInstance()
Returns an instance optimized for merging.
|
abstract NumericDocValues |
getNorms(FieldInfo field)
Returns
NumericDocValues for this field. |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetChildResources, ramBytesUsedprotected NormsProducer()
public abstract NumericDocValues getNorms(FieldInfo field) throws java.io.IOException
NumericDocValues for this field.
The returned instance need not be thread-safe: it will only be
used by a single thread.java.io.IOExceptionpublic abstract void checkIntegrity()
throws java.io.IOException
Note that this may be costly in terms of I/O, e.g. may involve computing a checksum value against large data files.
java.io.IOExceptionpublic NormsProducer getMergeInstance() throws java.io.IOException
The default implementation returns this
java.io.IOExceptionCopyright © 2000–2025 The Apache Software Foundation. All rights reserved.