Ordinals.ValuesHolder
Constructor and Description |
---|
MultiOrdinals(OrdinalsBuilder builder,
float acceptableOverheadRatio) |
Modifier and Type | Method and Description |
---|---|
java.util.Collection<org.apache.lucene.util.Accountable> |
getChildResources() |
org.apache.lucene.index.SortedSetDocValues |
ordinals(Ordinals.ValuesHolder values) |
long |
ramBytesUsed()
The memory size this ordinals take.
|
static boolean |
significantlySmallerThanSinglePackedOrdinals(int maxDoc,
int numDocsWithValue,
long numOrds,
float acceptableOverheadRatio)
Return true if this impl is going to be smaller than
SinglePackedOrdinals by at least 20%. |
public MultiOrdinals(OrdinalsBuilder builder, float acceptableOverheadRatio)
public static boolean significantlySmallerThanSinglePackedOrdinals(int maxDoc, int numDocsWithValue, long numOrds, float acceptableOverheadRatio)
SinglePackedOrdinals
by at least 20%.public long ramBytesUsed()
Ordinals
ramBytesUsed
in interface org.apache.lucene.util.Accountable
ramBytesUsed
in class Ordinals
public java.util.Collection<org.apache.lucene.util.Accountable> getChildResources()
public org.apache.lucene.index.SortedSetDocValues ordinals(Ordinals.ValuesHolder values)