Show / Hide Table of Contents

    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.

    Inheritance
    System.Object
    TermsIndexReaderBase.FieldIndexEnum
    Namespace: Lucene.Net.Codecs.BlockTerms
    Assembly: Lucene.Net.Codecs.dll
    Syntax
    public abstract class FieldIndexEnum : object

    Properties

    | Improve this Doc View Source

    Ord

    Declaration
    public abstract long Ord { get; }
    Property Value
    Type Description
    System.Int64
    Remarks

    Only implemented if SupportsOrd returns true

    | Improve this Doc View Source

    Term

    Declaration
    public abstract BytesRef Term { get; }
    Property Value
    Type Description
    BytesRef

    Methods

    | Improve this Doc View Source

    Next()

    Returns -1 at end/

    Declaration
    public abstract long Next()
    Returns
    Type Description
    System.Int64
    | Improve this Doc View Source

    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
    System.Int64
    | Improve this Doc View Source

    Seek(Int64)

    Declaration
    public abstract long Seek(long ord)
    Parameters
    Type Name Description
    System.Int64 ord
    Returns
    Type Description
    System.Int64
    Remarks

    Only implemented if SupportsOrd returns true

    • Improve this Doc
    • View Source
    Back to top Copyright © 2020 Licensed to the Apache Software Foundation (ASF)