public class

DocIdBitSet

extends DocIdSet
java.lang.Object
   ↳ org.apache.lucene.search.DocIdSet
     ↳ org.apache.lucene.util.DocIdBitSet

Class Overview

Simple DocIdSet and DocIdSetIterator backed by a BitSet

Summary

[Expand]
Inherited Fields
From class org.apache.lucene.search.DocIdSet
Public Constructors
DocIdBitSet(BitSet bitSet)
Public Methods
BitSet getBitSet()
Returns the underlying BitSet.
boolean isCacheable()
This DocIdSet implementation is cacheable.
DocIdSetIterator iterator()
Provides a DocIdSetIterator to access the set.
[Expand]
Inherited Methods
From class org.apache.lucene.search.DocIdSet
From class java.lang.Object

Public Constructors

public DocIdBitSet (BitSet bitSet)

Public Methods

public BitSet getBitSet ()

Returns the underlying BitSet.

public boolean isCacheable ()

This DocIdSet implementation is cacheable.

public DocIdSetIterator iterator ()

Provides a DocIdSetIterator to access the set. This implementation can return null or EMPTY_DOCIDSET.iterator() if there are no docs that match.