Class TermsIndexReaderBase

java.lang.Object
org.apache.lucene.codecs.blockterms.TermsIndexReaderBase
All Implemented Interfaces:
Closeable, AutoCloseable, Accountable
Direct Known Subclasses:
FixedGapTermsIndexReader, VariableGapTermsIndexReader

public abstract class TermsIndexReaderBase extends Object implements Closeable, Accountable
BlockTermsReader interacts with an instance of this class to manage its terms index. The writer must accept indexed terms (many pairs of BytesRef text + long fileOffset), and then this reader must be able to retrieve the nearest index term to a provided term text.
WARNING: This API is experimental and might change in incompatible ways in the next release.