Class TermsIndexReaderBase.FieldIndexEnum
java.lang.Object
org.apache.lucene.codecs.blockterms.TermsIndexReaderBase.FieldIndexEnum
- Enclosing class:
- TermsIndexReaderBase
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 Summary
-
Method Summary
Modifier and TypeMethodDescriptionabstract long
next()
Returns -1 at endabstract long
ord()
Only implemented ifTermsIndexReaderBase.supportsOrd()
returns true.abstract long
seek
(long ord) Only implemented ifTermsIndexReaderBase.supportsOrd()
returns true.abstract long
Seeks to "largest" indexed term that's <= term; returns file pointer index (into the main terms index file) for that termabstract BytesRef
term()
-
Constructor Details
-
FieldIndexEnum
public FieldIndexEnum()
-
-
Method Details
-
seek
Seeks to "largest" indexed term that's <= term; returns file pointer index (into the main terms index file) for that term- Throws:
IOException
-
next
Returns -1 at end- Throws:
IOException
-
term
-
seek
Only implemented ifTermsIndexReaderBase.supportsOrd()
returns true.- Throws:
IOException
-
ord
public abstract long ord()Only implemented ifTermsIndexReaderBase.supportsOrd()
returns true.
-