Class MultiDocValues.MultiSortedDocValues
Implements SortedDocValues over n subs, using an MultiDocValues.OrdinalMap
Note
This API is for internal purposes only and might change in incompatible ways in the next release.
Inherited Members
Namespace: Lucene.Net.Index
Assembly: Lucene.Net.dll
Syntax
public class MultiDocValues.MultiSortedDocValues : SortedDocValues
Properties
DocStarts
docbase for each leaf: parallel with Values
Declaration
public int[] DocStarts { get; }
Property Value
Type | Description |
---|---|
int[] |
Mapping
ordinal map mapping ords from values
to global ord space
Declaration
public MultiDocValues.OrdinalMap Mapping { get; }
Property Value
Type | Description |
---|---|
MultiDocValues.OrdinalMap |
ValueCount
Returns the number of unique values.
Declaration
public override int ValueCount { get; }
Property Value
Type | Description |
---|---|
int | Number of unique values in this SortedDocValues. This is also equivalent to one plus the maximum ordinal. |
Overrides
Values
leaf values
Declaration
public SortedDocValues[] Values { get; }
Property Value
Type | Description |
---|---|
SortedDocValues[] |
Methods
GetOrd(int)
Returns the ordinal for the specified docID.
Declaration
public override int GetOrd(int docID)
Parameters
Type | Name | Description |
---|---|---|
int | docID | document ID to lookup |
Returns
Type | Description |
---|---|
int | ordinal for the document: this is dense, starts at 0, then increments by 1 for the next value in sorted order. Note that missing values are indicated by -1. |
Overrides
LookupOrd(int, BytesRef)
Retrieves the value for the specified ordinal.
Declaration
public override void LookupOrd(int ord, BytesRef result)
Parameters
Type | Name | Description |
---|---|---|
int | ord | ordinal to lookup (must be >= 0 and < ValueCount) |
BytesRef | result | will be populated with the ordinal's value |