Method SufficientlySmallerThanBitSet
SufficientlySmallerThanBitSet(Int64, Int64)
Provide an indication that is better to use an EliasFanoDocIdSet than a FixedBitSet to encode document identifiers.
Declaration
public static bool SufficientlySmallerThanBitSet(long numValues, long upperBound)
Parameters
Type | Name | Description |
---|---|---|
System.Int64 | numValues | The number of document identifiers that is to be encoded. Should be non negative. |
System.Int64 | upperBound | The maximum possible value for a document identifier. Should be at least |
Returns
Type | Description |
---|---|
System.Boolean |