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
    System.Object
    TermsIndexReaderBase.FieldIndexEnum
    Inherited Members
    System.Object.Equals(System.Object)
    System.Object.Equals(System.Object, System.Object)
    System.Object.GetHashCode()
    System.Object.GetType()
    System.Object.MemberwiseClone()
    System.Object.ReferenceEquals(System.Object, System.Object)
    System.Object.ToString()
    Namespace: Lucene.Net.Codecs.BlockTerms
    Assembly: Lucene.Net.Codecs.dll
    Syntax
    public abstract class FieldIndexEnum

    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
    Lucene.Net.Util.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
    Lucene.Net.Util.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 © 2021 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.