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

    Constructors

    | Improve this Doc View Source

    FixedGapTermsIndexReader(Directory, FieldInfos, String, Int32, IComparer<BytesRef>, String, IOContext)

    Declaration
    public FixedGapTermsIndexReader(Directory dir, FieldInfos fieldInfos, string segment, int indexDivisor, IComparer<BytesRef> termComp, string segmentSuffix, IOContext context)
    Parameters
    Type Name Description
    Lucene.Net.Store.Directory dir
    Lucene.Net.Index.FieldInfos fieldInfos
    System.String segment
    System.Int32 indexDivisor
    System.Collections.Generic.IComparer<Lucene.Net.Util.BytesRef> termComp
    System.String segmentSuffix
    Lucene.Net.Store.IOContext context

    Properties

    | Improve this Doc View Source

    Divisor

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

    SupportsOrd

    Declaration
    public override bool SupportsOrd { get; }
    Property Value
    Type Description
    System.Boolean
    Overrides
    TermsIndexReaderBase.SupportsOrd

    Methods

    | Improve this Doc View Source

    Dispose(Boolean)

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

    GetFieldEnum(FieldInfo)

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

    RamBytesUsed()

    Declaration
    public override long RamBytesUsed()
    Returns
    Type Description
    System.Int64
    Overrides
    TermsIndexReaderBase.RamBytesUsed()

    Implements

    System.IDisposable

    See Also

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