Class MultiDocValues.OrdinalMap
maps per-segment ordinals to/from global ordinal space
Inheritance
System.Object
MultiDocValues.OrdinalMap
Assembly: DistributedLucene.Net.dll
Syntax
public class OrdinalMap : object
Constructors
Name | Description |
---|---|
OrdinalMap(Object, TermsEnum[]) | Creates an ordinal map that allows mapping ords to/from a merged
space from |
Properties
Name | Description |
---|---|
ValueCount | Returns the total number of unique terms in global ord space. |
Methods
Name | Description |
---|---|
GetFirstSegmentNumber(Int64) | Given a global ordinal, returns the index of the first segment that contains this term. |
GetFirstSegmentOrd(Int64) | Given global ordinal, returns the ordinal of the first segment which contains this ordinal (the corresponding to the segment return GetFirstSegmentNumber(Int64)). |
GetGlobalOrd(Int32, Int64) | Given a segment number and segment ordinal, returns the corresponding global ordinal. |
RamBytesUsed() | Returns total byte size used by this ordinal map. |