Package | Description |
---|---|
org.apache.lucene.search |
Code to search indices.
|
org.apache.lucene.util |
Some utility classes.
|
Modifier and Type | Field and Description |
---|---|
protected Bits |
FieldComparator.NumericComparator.docsWithField |
Modifier and Type | Method and Description |
---|---|
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. |
Modifier and Type | Class and Description |
---|---|
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 . |
Modifier and Type | Field and Description |
---|---|
static Bits[] |
Bits.EMPTY_ARRAY |