public class DescendantNodeJoin extends AbstractCondition
DescendantNodeJoin
implements a descendant node join condition.inner
Constructor and Description |
---|
DescendantNodeJoin(MultiColumnQueryHits context,
Name contextSelectorName,
org.apache.lucene.index.IndexReader reader,
HierarchyResolver resolver)
Creates a new descendant node join condition.
|
Modifier and Type | Method and Description |
---|---|
ScoreNode[][] |
getMatchingScoreNodes(ScoreNode descendant)
Returns the matching inner score nodes for the given outer score node
sn . |
close, getIndex, getInnerSelectorNames
public DescendantNodeJoin(MultiColumnQueryHits context, Name contextSelectorName, org.apache.lucene.index.IndexReader reader, HierarchyResolver resolver) throws IOException
context
- the inner query hits.contextSelectorName
- the selector name for the inner query hits.reader
- the index reader.resolver
- the hierarchy resolver.IOException
- if an error occurs while reading fromt the index.public ScoreNode[][] getMatchingScoreNodes(ScoreNode descendant) throws IOException
sn
.
The outer query hits loop contains the descendant nodes.
descendant
- the current score nodes of the outer source.IOException
- if an error occurs while evaluating the condition.Copyright © 2004–2022 The Apache Software Foundation. All rights reserved.