Fix performance issue
This commit is contained in:
parent
213e446ff4
commit
a77af5253d
@ -177,7 +177,7 @@ public class ScoredPagedMultiSearcher implements MultiSearcher {
|
|||||||
var after = (FieldDoc) s.last();
|
var after = (FieldDoc) s.last();
|
||||||
var totalHitsThreshold = queryParams.getTotalHitsThresholdInt();
|
var totalHitsThreshold = queryParams.getTotalHitsThresholdInt();
|
||||||
return new ScoringShardsCollectorManager(query, sort, pageLimit, after, totalHitsThreshold,
|
return new ScoringShardsCollectorManager(query, sort, pageLimit, after, totalHitsThreshold,
|
||||||
resultsOffset);
|
resultsOffset, pageLimit);
|
||||||
} else {
|
} else {
|
||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user