Class CachedOrdinalsReader.CachedOrds
Holds the cached ordinals in two parallel int[] arrays.
Implements
IAccountable
Inherited Members
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