Fork me on GitHub
  • API

    Show / Hide Table of Contents

    Class FixedGapTermsIndexReader

    TermsIndexReaderBase for simple every Nth terms indexes.

    Note

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

    Inheritance
    object
    TermsIndexReaderBase
    FixedGapTermsIndexReader
    Implements
    IDisposable
    Inherited Members
    TermsIndexReaderBase.Dispose()
    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 class FixedGapTermsIndexReader : TermsIndexReaderBase, IDisposable

    Constructors

    FixedGapTermsIndexReader(Directory, FieldInfos, string, int, IComparer<BytesRef>, string, IOContext)

    TermsIndexReaderBase for simple every Nth terms indexes.

    Note

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

    Declaration
    public FixedGapTermsIndexReader(Directory dir, FieldInfos fieldInfos, string segment, int indexDivisor, IComparer<BytesRef> termComp, string segmentSuffix, IOContext context)
    Parameters
    Type Name Description
    Directory dir
    FieldInfos fieldInfos
    string segment
    int indexDivisor
    IComparer<BytesRef> termComp
    string segmentSuffix
    IOContext context
    See Also
    FixedGapTermsIndexWriter

    Properties

    Divisor

    TermsIndexReaderBase for simple every Nth terms indexes.

    Note

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

    Declaration
    public override int Divisor { get; }
    Property Value
    Type Description
    int
    Overrides
    TermsIndexReaderBase.Divisor
    See Also
    FixedGapTermsIndexWriter

    SupportsOrd

    TermsIndexReaderBase for simple every Nth terms indexes.

    Note

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

    Declaration
    public override bool SupportsOrd { get; }
    Property Value
    Type Description
    bool
    Overrides
    TermsIndexReaderBase.SupportsOrd
    See Also
    FixedGapTermsIndexWriter

    Methods

    Dispose(bool)

    TermsIndexReaderBase for simple every Nth terms indexes.

    Note

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

    Declaration
    protected override void Dispose(bool disposing)
    Parameters
    Type Name Description
    bool disposing
    Overrides
    TermsIndexReaderBase.Dispose(bool)
    See Also
    FixedGapTermsIndexWriter

    GetFieldEnum(FieldInfo)

    TermsIndexReaderBase for simple every Nth terms indexes.

    Note

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

    Declaration
    public override TermsIndexReaderBase.FieldIndexEnum GetFieldEnum(FieldInfo fieldInfo)
    Parameters
    Type Name Description
    FieldInfo fieldInfo
    Returns
    Type Description
    TermsIndexReaderBase.FieldIndexEnum
    Overrides
    TermsIndexReaderBase.GetFieldEnum(FieldInfo)
    See Also
    FixedGapTermsIndexWriter

    RamBytesUsed()

    Returns approximate RAM bytes used.

    Declaration
    public override long RamBytesUsed()
    Returns
    Type Description
    long
    Overrides
    TermsIndexReaderBase.RamBytesUsed()
    See Also
    FixedGapTermsIndexWriter

    Implements

    IDisposable

    See Also

    FixedGapTermsIndexWriter
    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.