Stores and iterate on sorted integers in compressed form in RAM.
The code for compressing the differences between ascending integers was borrowed from {@link Lucene.Net.Store.IndexInput} and {@link Lucene.Net.Store.IndexOutput}.

NOTE: this class assumes the stored integers are doc Ids (hence why it extends {@link DocIdSet}). Therefore its {@link #Iterator()} assumes {@link DocIdSetIterator#NO_MORE_DOCS} can be used as sentinel. If you intent to use this value, then make sure it's not used during search flow.

Namespace: Lucene.Net.Util
Assembly: Lucene.Net (in Lucene.Net.dll) Version: 2.9.4.1

Syntax

C#
public class SortedVIntList : DocIdSet
Visual Basic
Public Class SortedVIntList _
	Inherits DocIdSet
Visual C++
public ref class SortedVIntList : public DocIdSet

Inheritance Hierarchy

System..::..Object
  Lucene.Net.Search..::..DocIdSet
    Lucene.Net.Util..::..SortedVIntList

See Also