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:
Michael McCandless 2014-03-03 17:10:45 +00:00
parent bca3952578
commit 080e735f40
1 changed files with 7 additions and 0 deletions

View File

@ -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;