Fork me on GitHub
  • API

    Show / Hide Table of Contents

    Class CachedOrdinalsReader.CachedOrds

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

    Inheritance
    object
    CachedOrdinalsReader.CachedOrds
    Implements
    IAccountable
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: Lucene.Net.Facet.Taxonomy
    Assembly: Lucene.Net.Facet.dll
    Syntax
    public sealed class CachedOrdinalsReader.CachedOrds : IAccountable

    Constructors

    CachedOrds(OrdinalsSegmentReader, int)

    Creates a new CachedOrdinalsReader.CachedOrds from the Lucene.Net.Index.BinaryDocValues. Assumes that the Lucene.Net.Index.BinaryDocValues is not null.

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

    Properties

    Offsets

    Index into Ordinals for each document.

    Declaration
    public int[] Offsets { get; }
    Property Value
    Type Description
    int[]

    Ordinals

    Holds ords for all docs.

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

    Methods

    RamBytesUsed()

    Return the memory usage of this object in bytes. Negative values are illegal.

    Declaration
    public long RamBytesUsed()
    Returns
    Type Description
    long

    Implements

    Lucene.Net.Util.IAccountable
    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.