Class OpenBitSetDISI
OpenBitSet with added methods to bulk-update the bits from a DocIdSetIterator. (DISI stands for DocIdSetIterator).
Implements
Inherited Members
Namespace: Lucene.Net.Util
Assembly: Lucene.Net.dll
Syntax
public class OpenBitSetDISI : OpenBitSet, IBits
Constructors
| Improve this Doc View SourceOpenBitSetDISI(DocIdSetIterator, Int32)
Construct an OpenBitSetDISI with its bits set from the doc ids of the given DocIdSetIterator. Also give a maximum size one larger than the largest doc id for which a bit may ever be set on this OpenBitSetDISI.
Declaration
public OpenBitSetDISI(DocIdSetIterator disi, int maxSize)
Parameters
Type | Name | Description |
---|---|---|
DocIdSetIterator | disi | |
System.Int32 | maxSize |
OpenBitSetDISI(Int32)
Construct an OpenBitSetDISI with no bits set, and a given maximum size one larger than the largest doc id for which a bit may ever be set on this OpenBitSetDISI.
Declaration
public OpenBitSetDISI(int maxSize)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | maxSize |
Methods
| Improve this Doc View SourceInPlaceAnd(DocIdSetIterator)
Perform an inplace AND with the doc ids from a given DocIdSetIterator, leaving only the bits set for which the doc ids are in common. These doc ids should be smaller than the maximum size passed to the constructor.
Declaration
public virtual void InPlaceAnd(DocIdSetIterator disi)
Parameters
Type | Name | Description |
---|---|---|
DocIdSetIterator | disi |
InPlaceNot(DocIdSetIterator)
Perform an inplace NOT with the doc ids from a given DocIdSetIterator, clearing all the bits for each such doc id. These doc ids should be smaller than the maximum size passed to the constructor.
Declaration
public virtual void InPlaceNot(DocIdSetIterator disi)
Parameters
Type | Name | Description |
---|---|---|
DocIdSetIterator | disi |
InPlaceOr(DocIdSetIterator)
Perform an inplace OR with the doc ids from a given DocIdSetIterator, setting the bit for each such doc id. These doc ids should be smaller than the maximum size passed to the constructor.
Declaration
public virtual void InPlaceOr(DocIdSetIterator disi)
Parameters
Type | Name | Description |
---|---|---|
DocIdSetIterator | disi |
InPlaceXor(DocIdSetIterator)
Perform an inplace XOR with the doc ids from a given DocIdSetIterator, flipping all the bits for each such doc id. These doc ids should be smaller than the maximum size passed to the constructor.
Declaration
public virtual void InPlaceXor(DocIdSetIterator disi)
Parameters
Type | Name | Description |
---|---|---|
DocIdSetIterator | disi |