## Uses of Class
org.apache.lucene.search.DocIdSet

Packages that use DocIdSet
org.apache.lucene.search: Code to search indices.
org.apache.lucene.util: Some utility classes.

### Uses of DocIdSet in org.apache.lucene.search

Fields in org.apache.lucene.search declared as DocIdSet
`static DocIdSet` DocIdSet.`EMPTY` An empty `DocIdSet` instance

Methods in org.apache.lucene.search that return DocIdSet
`protected DocIdSet` LRUQueryCache.`cacheImpl(BulkScorer scorer, int maxDoc)` Default cache implementation: uses `RoaringDocIdSet` for sets that have a density < 1% and a `BitDocIdSet` over a `FixedBitSet` otherwise.

### Uses of DocIdSet in org.apache.lucene.util

Subclasses of DocIdSet in org.apache.lucene.util
`class` `BitDocIdSet` Implementation of the `DocIdSet` interface on top of a `BitSet`.
`class` `NotDocIdSet` This `DocIdSet` encodes the negation of another `DocIdSet`.
`class` `RoaringDocIdSet` `DocIdSet` implementation inspired from http://roaringbitmap.org/ The space is divided into blocks of 2^16 bits and each block is encoded independently.

Methods in org.apache.lucene.util that return DocIdSet
`DocIdSet` DocIdSetBuilder.`build()` Build a `DocIdSet` from the accumulated doc IDs.

Constructors in org.apache.lucene.util with parameters of type DocIdSet
Constructor and Description
`NotDocIdSet(int maxDoc, DocIdSet in)` Sole constructor.