Class PForDeltaDocIdSet
DocIdSet implementation based on pfor-delta encoding.
This implementation is inspired from LinkedIn's Kamikaze (http://data.linkedin.com/opensource/kamikaze) and Daniel Lemire's JavaFastPFOR (https://github.com/lemire/JavaFastPFOR).
On the contrary to the original PFOR paper, exceptions are encoded with FOR instead of Simple16.
Inherited Members
Namespace: Lucene.Net.Util
Assembly: Lucene.Net.dll
Syntax
public sealed class PForDeltaDocIdSet : DocIdSet
Properties
| Improve this Doc View SourceIsCacheable
Declaration
public override bool IsCacheable { get; }
Property Value
Type | Description |
---|---|
System.Boolean |
Overrides
Methods
| Improve this Doc View SourceCardinality()
Return the number of documents in this DocIdSet in constant time.
Declaration
public int Cardinality()
Returns
Type | Description |
---|---|
System.Int32 |
GetIterator()
Declaration
public override DocIdSetIterator GetIterator()
Returns
Type | Description |
---|---|
DocIdSetIterator |
Overrides
| Improve this Doc View SourceRamBytesUsed()
Return the memory usage of this instance.
Declaration
public long RamBytesUsed()
Returns
Type | Description |
---|---|
System.Int64 |