Show / Hide Table of Contents

    Class CachedOrdinalsReader.CachedOrds

    Holds the cached ordinals in two parallel int[] arrays.

    Inheritance
    System.Object
    CachedOrdinalsReader.CachedOrds
    Namespace: Lucene.Net.Facet.Taxonomy
    Assembly: Lucene.Net.Facet.dll
    Syntax
    public sealed class CachedOrds : Util.IAccountable

    Constructors

    | Improve this Doc View Source

    CachedOrds(OrdinalsReader.OrdinalsSegmentReader, Int32)

    Creates a new CachedOrdinalsReader.CachedOrds from the . Assumes that the is not null.

    Declaration
    public CachedOrds(OrdinalsReader.OrdinalsSegmentReader source, int maxDoc)
    Parameters
    Type Name Description
    OrdinalsReader.OrdinalsSegmentReader source
    System.Int32 maxDoc

    Properties

    | Improve this Doc View Source

    Offsets

    Index into Ordinals for each document.

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

    Ordinals

    Holds ords for all docs.

    Declaration
    public int[] Ordinals { get; }
    Property Value
    Type Description
    System.Int32[]

    Methods

    | Improve this Doc View Source

    RamBytesUsed()

    Declaration
    public long RamBytesUsed()
    Returns
    Type Description
    System.Int64
    • Improve this Doc
    • View Source
    Back to top Copyright © 2020 Licensed to the Apache Software Foundation (ASF)