mirror of https://github.com/apache/lucene.git
SOLR-14608: Reduce percentage of priority queue size above total hits
This commit is contained in:
parent
64df5a65f0
commit
5328ced82e
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue