- Direct Known Subclasses:
Abstract API that produces terms, doc, freq, prox, offset and payloads postings.
- WARNING: This API is experimental and might change in incompatible ways in the next release.
FieldsProducerprotected FieldsProducer()Sole constructor. (For invocation by subclass constructors, typically implicit.)
closepublic abstract void close() throws IOException
checkIntegritypublic abstract void checkIntegrity() throws IOExceptionChecks consistency of this reader.
Note that this may be costly in terms of I/O, e.g. may involve computing a checksum value against large data files.
- NOTE: This API is for internal purposes only and might change in incompatible ways in the next release.
getMergeInstancepublic FieldsProducer getMergeInstance()Returns an instance optimized for merging. This instance may only be consumed in the thread that called
The default implementation returns