Show / Hide Table of Contents

    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.

    Inheritance
    System.Object
    DocIdSet
    PForDeltaDocIdSet
    Inherited Members
    DocIdSet.Bits
    DocIdSet.NewAnonymous(Func<DocIdSetIterator>)
    DocIdSet.NewAnonymous(Func<DocIdSetIterator>, Func<IBits>)
    DocIdSet.NewAnonymous(Func<DocIdSetIterator>, Func<Boolean>)
    DocIdSet.NewAnonymous(Func<DocIdSetIterator>, Func<IBits>, Func<Boolean>)
    Namespace: Lucene.Net.Util
    Assembly: Lucene.Net.dll
    Syntax
    public sealed class PForDeltaDocIdSet : DocIdSet

    Properties

    | Improve this Doc View Source

    IsCacheable

    Declaration
    public override bool IsCacheable { get; }
    Property Value
    Type Description
    System.Boolean
    Overrides
    DocIdSet.IsCacheable

    Methods

    | Improve this Doc View Source

    Cardinality()

    Return the number of documents in this DocIdSet in constant time.

    Declaration
    public int Cardinality()
    Returns
    Type Description
    System.Int32
    | Improve this Doc View Source

    GetIterator()

    Declaration
    public override DocIdSetIterator GetIterator()
    Returns
    Type Description
    DocIdSetIterator
    Overrides
    DocIdSet.GetIterator()
    | Improve this Doc View Source

    RamBytesUsed()

    Return the memory usage of this instance.

    Declaration
    public long RamBytesUsed()
    Returns
    Type Description
    System.Int64
    • Improve this Doc
    • View Source
    Back to top Copyright © 2020 Licensed to the Apache Software Foundation (ASF)