Class DocIdBitSet
Simple DocIdSet and DocIdSetIterator backed by a System.Collections.BitArray
Implements
Inherited Members
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 class DocIdBitSet : DocIdSet, IBits
Constructors
| Improve this Doc View SourceDocIdBitSet(BitArray)
Declaration
public DocIdBitSet(BitArray bitSet)
Parameters
Type | Name | Description |
---|---|---|
System.Collections.BitArray | bitSet |
Properties
| Improve this Doc View SourceBits
Declaration
public override IBits Bits { get; }
Property Value
Type | Description |
---|---|
IBits |
Overrides
| Improve this Doc View SourceBitSet
Returns the underlying System.Collections.BitArray.
Declaration
public virtual BitArray BitSet { get; }
Property Value
Type | Description |
---|---|
System.Collections.BitArray |
IsCacheable
This DocIdSet implementation is cacheable.
Declaration
public override bool IsCacheable { get; }
Property Value
Type | Description |
---|---|
System.Boolean |
Overrides
| Improve this Doc View SourceLength
Declaration
public int Length { get; }
Property Value
Type | Description |
---|---|
System.Int32 |
Methods
| Improve this Doc View SourceGet(Int32)
Declaration
public bool Get(int index)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | index |
Returns
Type | Description |
---|---|
System.Boolean |
GetIterator()
Declaration
public override DocIdSetIterator GetIterator()
Returns
Type | Description |
---|---|
DocIdSetIterator |