SOLR-14608: Reduce percentage of priority queue size above total hits

This commit is contained in:
Joel Bernstein 2021-01-19 14:36:51 -05:00
parent 64df5a65f0
commit 5328ced82e
1 changed files with 1 additions and 1 deletions

View File

@ -668,7 +668,7 @@ public class ExportWriter implements SolrCore.RawWriter, Closeable {
}
//Resize the priorityQueueSize down for small result sets.
this.priorityQueueSize = Math.min(this.priorityQueueSize, (int)(this.totalHits*1.5));
this.priorityQueueSize = Math.min(this.priorityQueueSize, (int)(this.totalHits*1.2));
if(log.isDebugEnabled()) {
log.debug("Total priority queue size {}:", this.priorityQueueSize);