## Uses of Interface
org.apache.lucene.util.Bits

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

Uses of Bits in org.apache.lucene.search

Fields in org.apache.lucene.search declared as Bits
`protected Bits` `FieldComparator.NumericComparator.docsWithField`

Methods in org.apache.lucene.search that return Bits
`Bits` `FieldCache.getDocsWithField(IndexReader reader, String field)` Checks the internal cache for an appropriate entry, and if none is found, reads the terms in `field` and returns a bit set at the size of `reader.maxDoc()`, with turned on bits for each docid that does have a value for this field.

Uses of Bits in org.apache.lucene.util

Classes in org.apache.lucene.util that implement Bits
`static class` `Bits.MatchAllBits` Bits impl of the specified length with all bits set.
`static class` `Bits.MatchNoBits` Bits impl of the specified length with no bits set.
`class` `BitVector` Optimized implementation of a vector of bits.
`class` `FixedBitSet` BitSet of fixed length (numBits), backed by accessible (`FixedBitSet.getBits()`) long[], accessed with an int index, implementing Bits and DocIdSet.
`class` `OpenBitSet` An "open" BitSet implementation that allows direct access to the array of words storing the bits.
`class` `OpenBitSetDISI` OpenBitSet with added methods to bulk-update the bits from a `DocIdSetIterator`.

Fields in org.apache.lucene.util declared as Bits
`static Bits[]` `Bits.EMPTY_ARRAY`