Details
Description
We already have a ConstantScoreScorer that knows how to early terminate the collection but the ConstantScoreQuery uses a private scorer that doesn't take advantage of setMinCompetitiveScore. This issue is about reusing the ConstantScoreScorer in the ConstantScoreQuery in order to early terminate queries that don't need to compute the total number of hits.