-
Type:
New Feature
-
Status: Open
-
Priority:
Major
-
Resolution: Unresolved
-
Affects Version/s: 5.0
-
Fix Version/s: None
-
Component/s: modules/join
-
Labels:None
-
Lucene Fields:New
I want to contribute the subj which should do something like ..WHERE EXISTS (SELECT 1 FROM fromSearcher.search(fromQuery) WHERE fromField=toField). It turns out, that it can be returned by the current method createJoinQuery(...ScoreMode.None)
- at first, it should run fromQuery first, collect fromField into BytesRefHash by TermsCollector, like it's done now
- then it should return query with TwoPhase Scorer
- which obtains toField docValue on matches() and check term for existence in BytesRefHash
Do you think it's ever useful? if you do, I can bake a patch.
Anyway, suggest the better API eg separate method, or enum and actual name!
- relates to
-
SOLR-6234 Scoring modes for query time join
-
- Closed
-
- links to