public class ParentNodeJoin extends AbstractCondition
ParentNodeJoin
implements a parent node join condition.inner
Constructor and Description |
---|
ParentNodeJoin(MultiColumnQueryHits child,
org.apache.lucene.index.IndexReader reader,
HierarchyResolver resolver,
ChildNodeJoinConditionImpl condition)
Creates a new parent node join condition.
|
Modifier and Type | Method and Description |
---|---|
ScoreNode[][] |
getMatchingScoreNodes(ScoreNode parent)
Returns the matching inner score nodes for the given outer score node
sn . |
close, getIndex, getInnerSelectorNames
public ParentNodeJoin(MultiColumnQueryHits child, org.apache.lucene.index.IndexReader reader, HierarchyResolver resolver, ChildNodeJoinConditionImpl condition) throws IOException
child
- the inner query hits.reader
- the index reader.resolver
- the hierarchy resolver.condition
- the QOM child node join condition.IOException
- if an error occurs while reading from the index.public ScoreNode[][] getMatchingScoreNodes(ScoreNode parent) throws IOException
sn
.
The outer query hits loop contains the parent score nodes.parent
- the current score nodes of the outer source.IOException
- if an error occurs while evaluating the condition.Copyright © 2004-2020 The Apache Software Foundation. All Rights Reserved.