public static class MultiDocValues.MultiSortedSetDocValues extends SortedSetDocValues
| Modifier and Type | Field and Description |
|---|---|
int[] |
docStarts
docbase for each leaf: parallel with
values |
MultiDocValues.OrdinalMap |
mapping
ordinal map mapping ords from
values to global ord space |
SortedSetDocValues[] |
values
leaf values
|
NO_MORE_ORDS| Modifier and Type | Method and Description |
|---|---|
long |
getValueCount()
Returns the number of unique values.
|
void |
lookupOrd(long ord,
BytesRef result)
Retrieves the value for the specified ordinal.
|
long |
nextOrd()
Returns the next ordinal for the current document (previously
set by
SortedSetDocValues.setDocument(int). |
void |
setDocument(int docID)
Sets iteration to the specified docID
|
lookupTerm, termsEnumpublic final int[] docStarts
valuespublic final SortedSetDocValues[] values
public final MultiDocValues.OrdinalMap mapping
values to global ord spacepublic long nextOrd()
SortedSetDocValuesSortedSetDocValues.setDocument(int).nextOrd in class SortedSetDocValuesSortedSetDocValues.NO_MORE_ORDS.
ordinals are dense, start at 0, then increment by 1 for
the next value in sorted order.public void setDocument(int docID)
SortedSetDocValuessetDocument in class SortedSetDocValuesdocID - document IDpublic void lookupOrd(long ord,
BytesRef result)
SortedSetDocValueslookupOrd in class SortedSetDocValuesord - ordinal to lookupresult - will be populated with the ordinal's valueSortedSetDocValues.nextOrd()public long getValueCount()
SortedSetDocValuesgetValueCount in class SortedSetDocValuesCopyright © 2000-2014 Apache Software Foundation. All Rights Reserved.