Fork me on GitHub
  • 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 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
    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 © 2022 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.