Class TermsIndexReaderBase.FieldIndexEnum
Similar to Lucene.Net.Index.TermsEnum, except, the only "metadata" it reports for a given indexed term is the long fileOffset into the main terms dictionary file.
Inherited Members
Namespace: Lucene.Net.Codecs.BlockTerms
Assembly: Lucene.Net.Codecs.dll
Syntax
public abstract class TermsIndexReaderBase.FieldIndexEnum
Properties
Ord
Similar to Lucene.Net.Index.TermsEnum, except, the only "metadata" it reports for a given indexed term is the long fileOffset into the main terms dictionary file.
Declaration
public abstract long Ord { get; }
Property Value
Type | Description |
---|---|
long |
Remarks
Only implemented if SupportsOrd
returns true
Term
Similar to Lucene.Net.Index.TermsEnum, except, the only "metadata" it reports for a given indexed term is the long fileOffset into the main terms dictionary file.
Declaration
public abstract BytesRef Term { get; }
Property Value
Type | Description |
---|---|
BytesRef |
Methods
Next()
Returns -1 at end/
Declaration
public abstract long Next()
Returns
Type | Description |
---|---|
long |
Seek(BytesRef)
Seeks to "largest" indexed term that's less than or equal to term; returns file pointer index (into the main terms index file) for that term.
Declaration
public abstract long Seek(BytesRef term)
Parameters
Type | Name | Description |
---|---|---|
BytesRef | term |
Returns
Type | Description |
---|---|
long |
Seek(long)
Similar to Lucene.Net.Index.TermsEnum, except, the only "metadata" it reports for a given indexed term is the long fileOffset into the main terms dictionary file.
Declaration
public abstract long Seek(long ord)
Parameters
Type | Name | Description |
---|---|---|
long | ord |
Returns
Type | Description |
---|---|
long |
Remarks
Only implemented if SupportsOrd
returns true