Class LeftJoin
java.lang.Object
com.atlassian.greenhopper.service.lucene.LeftJoin
A query that performs a join between two indexes (left and right).
This query can be used on the left index, and it selects documents in the left
that match documents on the right. Documents on the left/right are "matched" using
a fields with common values.
Specifically, this query will match documents in leftIndex, where
leftdoc.leftField == rightdoc.rightField, and rightdoc is in rightDocIds;
This implementation doesn't do anything smart wrt to scoring at the moment.
Performance will be expected to be O(l+r); l is the number of Terms that match on the left,
r is the number of terms that match on the right.
In the case where there is a 1-1 between left and right, best-case becomes O(1)
- Author:
- Matt Quail
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
LeftJoin
- Parameters:
leftField
- the match field on the left
-
-
Method Details
-
computeResult
- Throws:
IOException
-