Class OpenBitSetIterator
An iterator to iterate over set bits in an OpenBitSet.
this is faster than NextSetBit(Int64) for iterating over the complete set of bits,
especially when the density of the bits set is high.
Inheritance
System.Object
OpenBitSetIterator
Assembly: Lucene.Net.dll
Syntax
public class OpenBitSetIterator : DocIdSetIterator
Constructors
|
Improve this Doc
View Source
OpenBitSetIterator(OpenBitSet)
Declaration
public OpenBitSetIterator(OpenBitSet obs)
Parameters
|
Improve this Doc
View Source
OpenBitSetIterator(Int64[], Int32)
Declaration
public OpenBitSetIterator(long[] bits, int numWords)
Parameters
Type |
Name |
Description |
System.Int64[] |
bits |
|
System.Int32 |
numWords |
|
Properties
|
Improve this Doc
View Source
DocID
Declaration
public override int DocID { get; }
Property Value
Type |
Description |
System.Int32 |
|
Overrides
Methods
|
Improve this Doc
View Source
Advance(Int32)
Declaration
public override int Advance(int target)
Parameters
Type |
Name |
Description |
System.Int32 |
target |
|
Returns
Type |
Description |
System.Int32 |
|
Overrides
|
Improve this Doc
View Source
GetCost()
Declaration
public override long GetCost()
Returns
Type |
Description |
System.Int64 |
|
Overrides
|
Improve this Doc
View Source
NextDoc()
Declaration
public override int NextDoc()
Returns
Type |
Description |
System.Int32 |
|
Overrides