• API

    Show / Hide Table of Contents

    Class CachedOrdinalsReader.CachedOrds

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

    Inheritance
    System.Object
    CachedOrdinalsReader.CachedOrds
    Implements
    Lucene.Net.Util.IAccountable
    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.Facet.Taxonomy
    Assembly: Lucene.Net.Facet.dll
    Syntax
    public sealed class CachedOrds : IAccountable

    Constructors

    | Improve this Doc View Source

    CachedOrds(OrdinalsReader.OrdinalsSegmentReader, Int32)

    Creates a new CachedOrdinalsReader.CachedOrds from the BinaryDocValues. Assumes that the BinaryDocValues 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

    Implements

    Lucene.Net.Util.IAccountable
    • Improve this Doc
    • View Source
    Back to top Copyright © 2020 Licensed to the Apache Software Foundation (ASF)