Class MultiDocValues.MultiSortedSetDocValues
Implements MultiDocValues.MultiSortedSetDocValues 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.MultiSortedSetDocValues : SortedSetDocValues
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 long ValueCount { get; }
Property Value
Type | Description |
---|---|
long | Number of unique values in this SortedDocValues. This is also equivalent to one plus the maximum ordinal. |
Overrides
Values
leaf values
Declaration
public SortedSetDocValues[] Values { get; }
Property Value
Type | Description |
---|---|
SortedSetDocValues[] |
Methods
LookupOrd(long, BytesRef)
Retrieves the value for the specified ordinal.
Declaration
public override void LookupOrd(long ord, BytesRef result)
Parameters
Type | Name | Description |
---|---|---|
long | ord | ordinal to lookup |
BytesRef | result | will be populated with the ordinal's value |
Overrides
See Also
NextOrd()
Returns the next ordinal for the current document (previously set by SetDocument(int).
Declaration
public override long NextOrd()
Returns
Type | Description |
---|---|
long | Next ordinal for the document, or NO_MORE_ORDS. ordinals are dense, start at 0, then increment by 1 for the next value in sorted order. |
Overrides
SetDocument(int)
Sets iteration to the specified docID
Declaration
public override void SetDocument(int docID)
Parameters
Type | Name | Description |
---|---|---|
int | docID | document ID |