mirror of https://github.com/apache/lucene.git
LUCENE-6185: No need to implicitely set doDocScores anymore when searching with threads.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1652414 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
e32c7b7db9
commit
ab669e2d10
|
@ -729,7 +729,7 @@ public class IndexSearcher {
|
|||
public TopFieldDocs call() throws IOException {
|
||||
assert slice.leaves.length == 1;
|
||||
return searcher.search(Arrays.asList(slice.leaves),
|
||||
weight, after, nDocs, sort, true, doDocScores || sort.needsScores(), doMaxScore);
|
||||
weight, after, nDocs, sort, true, doDocScores, doMaxScore);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue