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, setScorer
protected FloatArray scores
protected ChildrenQuery.ParentScoreCollector(IndexParentChildFieldData globalIfd, SearchContext searchContext, String parentType)
public boolean needsScores()
needsScores
in interface org.apache.lucene.search.Collector
needsScores
in class ChildrenQuery.ParentCollector
protected void newParent(long parentIdx) throws IOException
newParent
in class ChildrenQuery.ParentCollector
IOException
public void close()
close
in interface AutoCloseable
close
in interface Releasable
close
in class ChildrenQuery.ParentCollector
Copyright © 2009–2016. All rights reserved.