Fork me on GitHub
  • API

    Show / Hide Table of Contents

    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.

    Inheritance
    object
    TermsIndexReaderBase.FieldIndexEnum
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    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

    Back to top Copyright © 2024 The Apache Software Foundation, Licensed under the Apache License, Version 2.0
    Apache Lucene.Net, Lucene.Net, Apache, the Apache feather logo, and the Apache Lucene.Net project logo are trademarks of The Apache Software Foundation.
    All other marks mentioned may be trademarks or registered trademarks of their respective owners.