Index
All Classes and Interfaces|All Packages
A
- accept(BytesRef) - Method in class org.apache.lucene.search.join.SeekingTermSetTermsEnum
- approximateSearch(LeafReaderContext, Bits, int, KnnCollectorManager) - Method in class org.apache.lucene.search.join.DiversifyingChildrenByteKnnVectorQuery
- approximateSearch(LeafReaderContext, Bits, int, KnnCollectorManager) - Method in class org.apache.lucene.search.join.DiversifyingChildrenFloatKnnVectorQuery
- Avg - Enum constant in enum org.apache.lucene.search.join.ScoreMode
-
Parent hit's score is the average of all child scores.
B
- BitSetProducer - Interface in org.apache.lucene.search.join
-
A producer of
BitSet
s per segment. - BlockJoinSelector - Class in org.apache.lucene.search.join
-
Select a value from a block of documents.
- BlockJoinSelector.Type - Enum in org.apache.lucene.search.join
-
Type of selection to perform.
C
- check(IndexReader, BitSetProducer) - Static method in class org.apache.lucene.search.join.CheckJoinIndex
-
Check that the given index is good to use for block joins.
- CheckJoinIndex - Class in org.apache.lucene.search.join
-
Utility class to check a block join index.
- createJoinQuery(String, boolean, String, Class<? extends Number>, Query, IndexSearcher, ScoreMode) - Static method in class org.apache.lucene.search.join.JoinUtil
-
Method for query time joining for numeric fields.
- createJoinQuery(String, boolean, String, Query, IndexSearcher, ScoreMode) - Static method in class org.apache.lucene.search.join.JoinUtil
-
Method for query time joining.
- createJoinQuery(String, Query, Query, IndexSearcher, ScoreMode, OrdinalMap) - Static method in class org.apache.lucene.search.join.JoinUtil
-
Delegates to
JoinUtil.createJoinQuery(String, Query, Query, IndexSearcher, ScoreMode, OrdinalMap, int, int)
, but disables the min and max filtering. - createJoinQuery(String, Query, Query, IndexSearcher, ScoreMode, OrdinalMap, int, int) - Static method in class org.apache.lucene.search.join.JoinUtil
-
A query time join using global ordinals over a dedicated join field.
- createWeight(IndexSearcher, ScoreMode, float) - Method in class org.apache.lucene.search.join.ParentChildrenBlockJoinQuery
- createWeight(IndexSearcher, ScoreMode, float) - Method in class org.apache.lucene.search.join.ToChildBlockJoinQuery
- createWeight(IndexSearcher, ScoreMode, float) - Method in class org.apache.lucene.search.join.ToParentBlockJoinQuery
D
- DiversifyingChildrenByteKnnVectorQuery - Class in org.apache.lucene.search.join
-
kNN byte vector query that joins matching children vector documents with their parent doc id.
- DiversifyingChildrenByteKnnVectorQuery(String, byte[], Query, int, BitSetProducer) - Constructor for class org.apache.lucene.search.join.DiversifyingChildrenByteKnnVectorQuery
-
Create a ToParentBlockJoinByteVectorQuery.
- DiversifyingChildrenFloatKnnVectorQuery - Class in org.apache.lucene.search.join
-
kNN float vector query that joins matching children vector documents with their parent doc id.
- DiversifyingChildrenFloatKnnVectorQuery(String, float[], Query, int, BitSetProducer) - Constructor for class org.apache.lucene.search.join.DiversifyingChildrenFloatKnnVectorQuery
-
Create a ToParentBlockJoinFloatVectorQuery.
- DiversifyingNearestChildrenKnnCollectorManager - Class in org.apache.lucene.search.join
-
DiversifyingNearestChildrenKnnCollectorManager responsible for creating
DiversifyingNearestChildrenKnnCollector
instances. - DiversifyingNearestChildrenKnnCollectorManager(int, BitSetProducer, IndexSearcher) - Constructor for class org.apache.lucene.search.join.DiversifyingNearestChildrenKnnCollectorManager
-
Constructor
E
- equals(Object) - Method in class org.apache.lucene.search.join.DiversifyingChildrenByteKnnVectorQuery
- equals(Object) - Method in class org.apache.lucene.search.join.DiversifyingChildrenFloatKnnVectorQuery
- equals(Object) - Method in class org.apache.lucene.search.join.ParentChildrenBlockJoinQuery
- equals(Object) - Method in class org.apache.lucene.search.join.QueryBitSetProducer
- equals(Object) - Method in class org.apache.lucene.search.join.ToChildBlockJoinQuery
- equals(Object) - Method in class org.apache.lucene.search.join.ToParentBlockJoinQuery
- equals(Object) - Method in class org.apache.lucene.search.join.ToParentBlockJoinSortField
- exactSearch(LeafReaderContext, DocIdSetIterator, QueryTimeout) - Method in class org.apache.lucene.search.join.DiversifyingChildrenByteKnnVectorQuery
- exactSearch(LeafReaderContext, DocIdSetIterator, QueryTimeout) - Method in class org.apache.lucene.search.join.DiversifyingChildrenFloatKnnVectorQuery
F
- field - Variable in class org.apache.lucene.search.join.DiversifyingChildrenByteKnnVectorQuery
- field - Variable in class org.apache.lucene.search.join.DiversifyingChildrenFloatKnnVectorQuery
G
- getBitSet(LeafReaderContext) - Method in interface org.apache.lucene.search.join.BitSetProducer
-
Produce a
BitSet
matching the expected documents on the given segment. - getBitSet(LeafReaderContext) - Method in class org.apache.lucene.search.join.QueryBitSetProducer
- getChildQuery() - Method in class org.apache.lucene.search.join.ToParentBlockJoinQuery
-
Return our child query.
- getComparator(int, Pruning) - Method in class org.apache.lucene.search.join.ToParentBlockJoinSortField
- getField() - Method in class org.apache.lucene.search.join.DiversifyingChildrenByteKnnVectorQuery
- getField() - Method in class org.apache.lucene.search.join.DiversifyingChildrenFloatKnnVectorQuery
- getFilter() - Method in class org.apache.lucene.search.join.DiversifyingChildrenByteKnnVectorQuery
- getFilter() - Method in class org.apache.lucene.search.join.DiversifyingChildrenFloatKnnVectorQuery
- getK() - Method in class org.apache.lucene.search.join.DiversifyingChildrenByteKnnVectorQuery
- getK() - Method in class org.apache.lucene.search.join.DiversifyingChildrenFloatKnnVectorQuery
- getKnnCollectorManager(int, IndexSearcher) - Method in class org.apache.lucene.search.join.DiversifyingChildrenByteKnnVectorQuery
- getKnnCollectorManager(int, IndexSearcher) - Method in class org.apache.lucene.search.join.DiversifyingChildrenFloatKnnVectorQuery
- getParentQuery() - Method in class org.apache.lucene.search.join.ToChildBlockJoinQuery
-
Return our parent query.
- getQuery() - Method in class org.apache.lucene.search.join.QueryBitSetProducer
-
Gets the contained query.
H
- hashCode() - Method in class org.apache.lucene.search.join.DiversifyingChildrenByteKnnVectorQuery
- hashCode() - Method in class org.apache.lucene.search.join.DiversifyingChildrenFloatKnnVectorQuery
- hashCode() - Method in class org.apache.lucene.search.join.ParentChildrenBlockJoinQuery
- hashCode() - Method in class org.apache.lucene.search.join.QueryBitSetProducer
- hashCode() - Method in class org.apache.lucene.search.join.ToChildBlockJoinQuery
- hashCode() - Method in class org.apache.lucene.search.join.ToParentBlockJoinQuery
- hashCode() - Method in class org.apache.lucene.search.join.ToParentBlockJoinSortField
I
- Index-time joins - Search tag in package org.apache.lucene.search.join
- Section
J
- JoinUtil - Class in org.apache.lucene.search.join
-
Utility for query time joining.
M
- Max - Enum constant in enum org.apache.lucene.search.join.ScoreMode
-
Parent hit's score is the max of all child scores.
- MAX - Enum constant in enum org.apache.lucene.search.join.BlockJoinSelector.Type
-
Only consider the maximum value from the block when sorting.
- mergeLeafResults(TopDocs[]) - Method in class org.apache.lucene.search.join.DiversifyingChildrenByteKnnVectorQuery
- mergeLeafResults(TopDocs[]) - Method in class org.apache.lucene.search.join.DiversifyingChildrenFloatKnnVectorQuery
- Min - Enum constant in enum org.apache.lucene.search.join.ScoreMode
-
Parent hit's score is the min of all child scores.
- MIN - Enum constant in enum org.apache.lucene.search.join.BlockJoinSelector.Type
-
Only consider the minimum value from the block when sorting.
N
- newCollector(int, LeafReaderContext) - Method in class org.apache.lucene.search.join.DiversifyingNearestChildrenKnnCollectorManager
-
Return a new
DiversifyingNearestChildrenKnnCollector
instance. - nextSeekTerm(BytesRef) - Method in class org.apache.lucene.search.join.SeekingTermSetTermsEnum
- None - Enum constant in enum org.apache.lucene.search.join.ScoreMode
-
Do no scoring.
O
- org.apache.lucene.search.join - package org.apache.lucene.search.join
-
Support for index-time and query-time joins.
P
- ParentChildrenBlockJoinQuery - Class in org.apache.lucene.search.join
-
A query that returns all the matching child documents for a specific parent document indexed together in the same block.
- ParentChildrenBlockJoinQuery(BitSetProducer, Query, int) - Constructor for class org.apache.lucene.search.join.ParentChildrenBlockJoinQuery
-
Creates a
ParentChildrenBlockJoinQuery
instance
Q
- QueryBitSetProducer - Class in org.apache.lucene.search.join
-
A
BitSetProducer
that wraps a query and caches matchingBitSet
s per segment. - QueryBitSetProducer(Query) - Constructor for class org.apache.lucene.search.join.QueryBitSetProducer
-
Wraps another query's result and caches it into bitsets.
- Query-time joins - Search tag in package org.apache.lucene.search.join
- Section
R
- rewrite(IndexSearcher) - Method in class org.apache.lucene.search.join.DiversifyingChildrenByteKnnVectorQuery
- rewrite(IndexSearcher) - Method in class org.apache.lucene.search.join.DiversifyingChildrenFloatKnnVectorQuery
- rewrite(IndexSearcher) - Method in class org.apache.lucene.search.join.ParentChildrenBlockJoinQuery
- rewrite(IndexSearcher) - Method in class org.apache.lucene.search.join.ToChildBlockJoinQuery
- rewrite(IndexSearcher) - Method in class org.apache.lucene.search.join.ToParentBlockJoinQuery
S
- ScoreMode - Enum in org.apache.lucene.search.join
-
How to aggregate multiple child hit scores into a single parent score.
- SeekingTermSetTermsEnum - Class in org.apache.lucene.search.join
-
A filtered TermsEnum that uses a BytesRefHash as a filter
- SeekingTermSetTermsEnum(TermsEnum, BytesRefHash, int[]) - Constructor for class org.apache.lucene.search.join.SeekingTermSetTermsEnum
-
Constructor
T
- ToChildBlockJoinQuery - Class in org.apache.lucene.search.join
-
Just like
ToParentBlockJoinQuery
, except this query joins in reverse: you provide a Query matching parent documents and it joins down to child documents. - ToChildBlockJoinQuery(Query, BitSetProducer) - Constructor for class org.apache.lucene.search.join.ToChildBlockJoinQuery
-
Create a ToChildBlockJoinQuery.
- toIter(BitSet) - Static method in class org.apache.lucene.search.join.BlockJoinSelector
-
creates an iterator for the given bitset
- ToParentBlockJoinQuery - Class in org.apache.lucene.search.join
-
This query requires that you index children and parent docs as a single block, using the
IndexWriter.addDocuments()
orIndexWriter.updateDocuments()
API. - ToParentBlockJoinQuery(Query, BitSetProducer, ScoreMode) - Constructor for class org.apache.lucene.search.join.ToParentBlockJoinQuery
-
Create a ToParentBlockJoinQuery.
- ToParentBlockJoinSortField - Class in org.apache.lucene.search.join
-
A special sort field that allows sorting parent docs based on nested / child level fields.
- ToParentBlockJoinSortField(String, SortField.Type, boolean, boolean, BitSetProducer, BitSetProducer) - Constructor for class org.apache.lucene.search.join.ToParentBlockJoinSortField
-
Create ToParentBlockJoinSortField.
- ToParentBlockJoinSortField(String, SortField.Type, boolean, BitSetProducer, BitSetProducer) - Constructor for class org.apache.lucene.search.join.ToParentBlockJoinSortField
-
Create ToParentBlockJoinSortField.
- toString() - Method in class org.apache.lucene.search.join.QueryBitSetProducer
- toString(String) - Method in class org.apache.lucene.search.join.DiversifyingChildrenByteKnnVectorQuery
- toString(String) - Method in class org.apache.lucene.search.join.DiversifyingChildrenFloatKnnVectorQuery
- toString(String) - Method in class org.apache.lucene.search.join.ParentChildrenBlockJoinQuery
- toString(String) - Method in class org.apache.lucene.search.join.ToChildBlockJoinQuery
- toString(String) - Method in class org.apache.lucene.search.join.ToParentBlockJoinQuery
- Total - Enum constant in enum org.apache.lucene.search.join.ScoreMode
-
Parent hit's score is the sum of all child scores.
V
- valueOf(String) - Static method in enum org.apache.lucene.search.join.BlockJoinSelector.Type
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum org.apache.lucene.search.join.ScoreMode
-
Returns the enum constant of this type with the specified name.
- values() - Static method in enum org.apache.lucene.search.join.BlockJoinSelector.Type
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum org.apache.lucene.search.join.ScoreMode
-
Returns an array containing the constants of this enum type, in the order they are declared.
- visit(QueryVisitor) - Method in class org.apache.lucene.search.join.DiversifyingChildrenByteKnnVectorQuery
- visit(QueryVisitor) - Method in class org.apache.lucene.search.join.DiversifyingChildrenFloatKnnVectorQuery
- visit(QueryVisitor) - Method in class org.apache.lucene.search.join.ParentChildrenBlockJoinQuery
- visit(QueryVisitor) - Method in class org.apache.lucene.search.join.ToChildBlockJoinQuery
- visit(QueryVisitor) - Method in class org.apache.lucene.search.join.ToParentBlockJoinQuery
W
- wrap(NumericDocValues, BlockJoinSelector.Type, BitSet, DocIdSetIterator) - Static method in class org.apache.lucene.search.join.BlockJoinSelector
-
Wraps the provided
NumericDocValues
, iterating over only child documents, in order to only select one value per parent among itschildren
using the configuredselection
type. - wrap(NumericDocValues, BlockJoinSelector.Type, BitSet, BitSet) - Static method in class org.apache.lucene.search.join.BlockJoinSelector
-
Deprecated.
- wrap(SortedDocValues, BlockJoinSelector.Type, BitSet, DocIdSetIterator) - Static method in class org.apache.lucene.search.join.BlockJoinSelector
-
Wraps the provided
SortedDocValues
in order to only select one value per parent among itschildren
using the configuredselection
type. - wrap(SortedDocValues, BlockJoinSelector.Type, BitSet, BitSet) - Static method in class org.apache.lucene.search.join.BlockJoinSelector
-
Deprecated.
- wrap(SortedNumericDocValues, BlockJoinSelector.Type, BitSet, DocIdSetIterator) - Static method in class org.apache.lucene.search.join.BlockJoinSelector
-
Wraps the provided
SortedNumericDocValues
in order to only select one value per parent among itschildren
using the configuredselection
type. - wrap(SortedNumericDocValues, BlockJoinSelector.Type, BitSet, BitSet) - Static method in class org.apache.lucene.search.join.BlockJoinSelector
-
Deprecated.
- wrap(SortedSetDocValues, BlockJoinSelector.Type, BitSet, DocIdSetIterator) - Static method in class org.apache.lucene.search.join.BlockJoinSelector
-
Wraps the provided
SortedSetDocValues
in order to only select one value per parent among itschildren
using the configuredselection
type. - wrap(Bits, BitSet, BitSet) - Static method in class org.apache.lucene.search.join.BlockJoinSelector
-
Return a
Bits
instance that returns true if, and only if, any of the children of the given parent document has a value.
All Classes and Interfaces|All Packages