Fork me on GitHub
  • API

    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>)
    System.Object.Equals(System.Object)
    System.Object.Equals(System.Object, System.Object)
    System.Object.GetHashCode()
    System.Object.GetType()
    System.Object.MemberwiseClone()
    System.Object.ReferenceEquals(System.Object, System.Object)
    System.Object.ToString()
    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 The Apache Software Foundation, Licensed under the Apache License, Version 2.0
    Apache Lucene.Net, Lucene.Net, Apache, the Apache feather logo, and the Apache Lucene.Net project logo are trademarks of The Apache Software Foundation.
    All other marks mentioned may be trademarks or registered trademarks of their respective owners.