diff --git a/solr/core/src/java/org/apache/solr/handler/export/ExportWriter.java b/solr/core/src/java/org/apache/solr/handler/export/ExportWriter.java index 953cb4e7476..f2d0b9ba21f 100644 --- a/solr/core/src/java/org/apache/solr/handler/export/ExportWriter.java +++ b/solr/core/src/java/org/apache/solr/handler/export/ExportWriter.java @@ -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);