mirror of https://github.com/apache/lucene.git
LUCENE-8060: ToChildBlockJoinQuery can't delegate getMaxScore but not advanceShallow.
This commit is contained in:
parent
3203e99d8f
commit
116309160e
|
@ -282,7 +282,7 @@ public class ToChildBlockJoinQuery extends Query {
|
|||
|
||||
@Override
|
||||
public float getMaxScore(int upTo) throws IOException {
|
||||
return parentScorer.getMaxScore(DocIdSetIterator.NO_MORE_DOCS);
|
||||
return Float.POSITIVE_INFINITY;
|
||||
}
|
||||
|
||||
int getParentDoc() {
|
||||
|
|
Loading…
Reference in New Issue