diff --git a/source/net/yacy/cora/federate/solr/connector/AbstractSolrConnector.java b/source/net/yacy/cora/federate/solr/connector/AbstractSolrConnector.java index 1b5ece1b1..e57815f8f 100644 --- a/source/net/yacy/cora/federate/solr/connector/AbstractSolrConnector.java +++ b/source/net/yacy/cora/federate/solr/connector/AbstractSolrConnector.java @@ -368,6 +368,8 @@ public abstract class AbstractSolrConnector implements SolrConnector { final Thread t = new Thread() { @Override public void run() { + // CPU-intensive tasks will be performed when accessing the solr index because there decompression of content happens + this.setPriority(Thread.MAX_PRIORITY); try { for (String querystring: querystrings) { this.setName("AbstractSolrConnector:concurrentIDsByQueries(" + querystring + ")"); diff --git a/source/net/yacy/kelondro/table/Table.java b/source/net/yacy/kelondro/table/Table.java index a9d811913..27d1f2aa1 100644 --- a/source/net/yacy/kelondro/table/Table.java +++ b/source/net/yacy/kelondro/table/Table.java @@ -238,7 +238,7 @@ public class Table implements Index, Iterable { this.table = null; } } - optimize(); + //optimize(); // open the file this.file = new BufferedRecords(new Records(tablefile, rowdef.objectsize), this.buffersize);