Fork me on GitHub
  • API

    Show / Hide Table of Contents

    Class TermsIndexReaderBase

    BlockTermsReader interacts with an instance of this class to manage its terms index. The writer must accept indexed terms (many pairs of Lucene.Net.Util.BytesRef text + long fileOffset), and then this reader must be able to retrieve the nearest index term to a provided term text.

    Note

    This API is experimental and might change in incompatible ways in the next release.

    Inheritance
    System.Object
    TermsIndexReaderBase
    FixedGapTermsIndexReader
    VariableGapTermsIndexReader
    Implements
    System.IDisposable
    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 TermsIndexReaderBase : IDisposable

    Properties

    | Improve this Doc View Source

    Divisor

    Declaration
    public abstract int Divisor { get; }
    Property Value
    Type Description
    System.Int32
    | Improve this Doc View Source

    SupportsOrd

    Declaration
    public abstract bool SupportsOrd { get; }
    Property Value
    Type Description
    System.Boolean

    Methods

    | Improve this Doc View Source

    Dispose()

    Declaration
    public void Dispose()
    | Improve this Doc View Source

    Dispose(Boolean)

    Declaration
    protected abstract void Dispose(bool disposing)
    Parameters
    Type Name Description
    System.Boolean disposing
    | Improve this Doc View Source

    GetFieldEnum(FieldInfo)

    Declaration
    public abstract TermsIndexReaderBase.FieldIndexEnum GetFieldEnum(FieldInfo fieldInfo)
    Parameters
    Type Name Description
    Lucene.Net.Index.FieldInfo fieldInfo
    Returns
    Type Description
    TermsIndexReaderBase.FieldIndexEnum
    | Improve this Doc View Source

    RamBytesUsed()

    Returns approximate RAM bytes used.

    Declaration
    public abstract long RamBytesUsed()
    Returns
    Type Description
    System.Int64

    Implements

    System.IDisposable
    • 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.