Package org.apache.lucene.search
Class Scorable.ChildScorable
java.lang.Object
org.apache.lucene.search.Scorable.ChildScorable
- Enclosing class:
- Scorable
A child Scorer and its relationship to its parent. the meaning of the relationship depends upon
the parent query.
- WARNING: This API is experimental and might change in incompatible ways in the next release.
-
Field Summary
-
Constructor Summary
ConstructorDescriptionChildScorable
(Scorable child, String relationship) Creates a new ChildScorer node with the specified relationship. -
Method Summary
-
Field Details
-
child
Child Scorer. (note this is typically a direct child, and may itself also have children). -
relationship
An arbitrary string relating this scorer to the parent.
-
-
Constructor Details
-
ChildScorable
Creates a new ChildScorer node with the specified relationship.The relationship can be any be any string that makes sense to the parent Scorer.
-