Package org.apache.lucene.search
Class Scorable.ChildScorable
- java.lang.Object
-
- org.apache.lucene.search.Scorable.ChildScorable
-
- Enclosing class:
- Scorable
public static class Scorable.ChildScorable extends java.lang.Object
A child Scorer and its relationship to its parent. the meaning of the relationship depends upon the parent query.
-
-
Field Summary
Fields Modifier and Type Field Description Scorable
child
Child Scorer.java.lang.String
relationship
An arbitrary string relating this scorer to the parent.
-
Constructor Summary
Constructors Constructor Description ChildScorable(Scorable child, java.lang.String relationship)
Creates a new ChildScorer node with the specified relationship.
-
-
-
Field Detail
-
child
public final Scorable child
Child Scorer. (note this is typically a direct child, and may itself also have children).
-
relationship
public final java.lang.String relationship
An arbitrary string relating this scorer to the parent.
-
-
Constructor Detail
-
ChildScorable
public ChildScorable(Scorable child, java.lang.String relationship)
Creates a new ChildScorer node with the specified relationship.The relationship can be any be any string that makes sense to the parent Scorer.
-
-