mirror of https://github.com/apache/lucene.git
LUCENE-5486: allow out-of-order collector selection with query time joins
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1573615 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
bca3952578
commit
080e735f40
|
@ -140,6 +140,13 @@ class TermsIncludingScoreQuery extends Query {
|
|||
return new ComplexExplanation(false, 0.0f, "Not a match");
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean scoresDocsOutOfOrder() {
|
||||
// We have optimized impls below if we are allowed
|
||||
// to score out-of-order:
|
||||
return true;
|
||||
}
|
||||
|
||||
@Override
|
||||
public Query getQuery() {
|
||||
return TermsIncludingScoreQuery.this;
|
||||
|
|
Loading…
Reference in New Issue