public abstract class TermsIndexReaderBase
extends java.lang.Object
implements java.io.Closeable
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.| Modifier and Type | Class and Description |
|---|---|
static class |
TermsIndexReaderBase.FieldIndexEnum
Similar to TermsEnum, except, the only "metadata" it
reports for a given indexed term is the long fileOffset
into the main terms dictionary file.
|
| Constructor and Description |
|---|
TermsIndexReaderBase() |
| Modifier and Type | Method and Description |
|---|---|
abstract void |
close() |
abstract TermsIndexReaderBase.FieldIndexEnum |
getFieldEnum(FieldInfo fieldInfo) |
abstract boolean |
supportsOrd() |
public abstract TermsIndexReaderBase.FieldIndexEnum getFieldEnum(FieldInfo fieldInfo)
public abstract void close()
throws java.io.IOException
close in interface java.io.Closeableclose in interface java.lang.AutoCloseablejava.io.IOExceptionpublic abstract boolean supportsOrd()
Data In Motion GmbH all rights reserved