protected abstract static class ChildrenQuery.ParentScoreCollector extends ChildrenQuery.ParentCollector implements Releasable
| Modifier and Type | Field and Description |
|---|---|
protected FloatArray |
scores |
bigArrays, globalIfd, parentIdxs, parentType, scorer, searchContext, values| Modifier | Constructor and Description |
|---|---|
protected |
ChildrenQuery.ParentScoreCollector(IndexParentChildFieldData globalIfd,
SearchContext searchContext,
String parentType) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
boolean |
needsScores() |
protected void |
newParent(long parentIdx) |
collect, doSetNextReader, existingParent, foundParents, setScorerprotected FloatArray scores
protected ChildrenQuery.ParentScoreCollector(IndexParentChildFieldData globalIfd, SearchContext searchContext, String parentType)
public boolean needsScores()
needsScores in interface org.apache.lucene.search.CollectorneedsScores in class ChildrenQuery.ParentCollectorprotected void newParent(long parentIdx)
throws IOException
newParent in class ChildrenQuery.ParentCollectorIOExceptionpublic void close()
close in interface AutoCloseableclose in interface Releasableclose in class ChildrenQuery.ParentCollectorCopyright © 2009–2017. All rights reserved.