| Package | Description |
|---|---|
| org.apache.lucene.index |
Code to maintain and access indices.
|
| org.apache.lucene.search |
Code to search indices.
|
| org.apache.lucene.search.join |
Support for index-time and query-time joins.
|
| org.apache.lucene.util |
Some utility classes.
|
| Modifier and Type | Field and Description |
|---|---|
private BitSet |
DocValuesFieldUpdates.SingleValueDocValuesFieldUpdates.bitSet |
private BitSet |
SortingLeafReader.CachedNumericDVs.docsWithField |
private BitSet |
SortingLeafReader.CachedBinaryDVs.docsWithField |
private BitSet |
DocValuesFieldUpdates.SingleValueDocValuesFieldUpdates.hasNoValue |
| Constructor and Description |
|---|
CachedBinaryDVs(BytesRef[] values,
BitSet docsWithField) |
CachedNumericDVs(long[] values,
BitSet docsWithField) |
| Modifier and Type | Field and Description |
|---|---|
private BitSet[] |
ConjunctionDISI.BitSetConjunctionDISI.bitSets |
| Modifier and Type | Field and Description |
|---|---|
private BitSet |
ToParentBlockJoinQuery.ParentApproximation.parentBits |
private BitSet |
ToParentBlockJoinQuery.BlockJoinScorer.parentBits |
private BitSet |
ToChildBlockJoinQuery.ToChildBlockJoinScorer.parentBits |
private BitSet |
ToParentDocValues.parents |
| Modifier and Type | Method and Description |
|---|---|
BitSet |
QueryBitSetProducer.getBitSet(LeafReaderContext context) |
BitSet |
BitSetProducer.getBitSet(LeafReaderContext context)
Produce a
BitSet matching the expected documents on the given
segment. |
| Modifier and Type | Method and Description |
|---|---|
protected static BitSetIterator |
BlockJoinSelector.toIter(BitSet children)
creates an iterator for the given bitset
|
static Bits |
BlockJoinSelector.wrap(Bits docsWithValue,
BitSet parents,
BitSet children)
Return a
Bits instance that returns true if, and only if, any of
the children of the given parent document has a value. |
static NumericDocValues |
BlockJoinSelector.wrap(NumericDocValues values,
BlockJoinSelector.Type selection,
BitSet parents,
BitSet children)
Deprecated.
|
(package private) static NumericDocValues |
ToParentDocValues.wrap(NumericDocValues values,
BlockJoinSelector.Type selection,
BitSet parents2,
DocIdSetIterator children) |
static NumericDocValues |
BlockJoinSelector.wrap(NumericDocValues values,
BlockJoinSelector.Type selection,
BitSet parents,
DocIdSetIterator children)
Wraps the provided
NumericDocValues, iterating over only
child documents, in order to only select one value per parent among
its children using the configured selection type. |
static SortedDocValues |
BlockJoinSelector.wrap(SortedDocValues values,
BlockJoinSelector.Type selection,
BitSet parents,
BitSet children)
Deprecated.
|
(package private) static SortedDocValues |
ToParentDocValues.wrap(SortedDocValues values,
BlockJoinSelector.Type selection,
BitSet parents2,
DocIdSetIterator children) |
static SortedDocValues |
BlockJoinSelector.wrap(SortedDocValues values,
BlockJoinSelector.Type selection,
BitSet parents,
DocIdSetIterator children)
Wraps the provided
SortedDocValues in order to only select
one value per parent among its children using the configured
selection type. |
static NumericDocValues |
BlockJoinSelector.wrap(SortedNumericDocValues sortedNumerics,
BlockJoinSelector.Type selection,
BitSet parents,
BitSet children)
Deprecated.
|
static NumericDocValues |
BlockJoinSelector.wrap(SortedNumericDocValues sortedNumerics,
BlockJoinSelector.Type selection,
BitSet parents,
DocIdSetIterator children)
Wraps the provided
SortedNumericDocValues in order to only select
one value per parent among its children using the configured
selection type. |
static SortedDocValues |
BlockJoinSelector.wrap(SortedSetDocValues sortedSet,
BlockJoinSelector.Type selection,
BitSet parents,
BitSet children)
Deprecated.
|
static SortedDocValues |
BlockJoinSelector.wrap(SortedSetDocValues sortedSet,
BlockJoinSelector.Type selection,
BitSet parents,
DocIdSetIterator children)
Wraps the provided
SortedSetDocValues in order to only select
one value per parent among its children using the configured
selection type. |
| Constructor and Description |
|---|
BlockJoinScorer(Weight weight,
Scorer childScorer,
BitSet parentBits,
ScoreMode scoreMode) |
NumDV(NumericDocValues values,
BlockJoinSelector.Type selection,
BitSet parents,
DocIdSetIterator children) |
ParentApproximation(DocIdSetIterator childApproximation,
BitSet parentBits) |
SortedDVs(SortedDocValues values,
BlockJoinSelector.Type selection,
BitSet parents,
DocIdSetIterator children) |
ToChildBlockJoinScorer(Weight weight,
Scorer parentScorer,
BitSet parentBits,
boolean doScores) |
ToParentDocValues(DocIdSetIterator values,
BitSet parents,
DocIdSetIterator children,
ToParentDocValues.Accumulator collect) |
| Modifier and Type | Class and Description |
|---|---|
class |
FixedBitSet
BitSet of fixed length (numBits), backed by accessible (
FixedBitSet.getBits())
long[], accessed with an int index, implementing Bits and
DocIdSet. |
class |
SparseFixedBitSet
A bit set that only stores longs that have at least one bit which is set.
|
| Modifier and Type | Field and Description |
|---|---|
private BitSet |
BitSetIterator.bits |
private BitSet |
BitDocIdSet.set |
| Modifier and Type | Method and Description |
|---|---|
private static <T extends BitSet> |
BitSetIterator.getBitSet(DocIdSetIterator iterator,
java.lang.Class<? extends T> clazz) |
| Modifier and Type | Method and Description |
|---|---|
BitSet |
BitDocIdSet.bits() |
BitSet |
BitSetIterator.getBitSet()
Return the wrapped
BitSet. |
static BitSet |
BitSet.of(DocIdSetIterator it,
int maxDoc)
Build a
BitSet from the content of the provided DocIdSetIterator. |
| Constructor and Description |
|---|
BitDocIdSet(BitSet set)
Same as
BitDocIdSet.BitDocIdSet(BitSet, long) but uses the set's
approximate cardinality as a cost. |
BitDocIdSet(BitSet set,
long cost)
|
BitSetIterator(BitSet bits,
long cost)
Sole constructor.
|