mirror of
https://github.com/DSpace/DSpace.git
synced 2025-10-12 04:23:13 +00:00
DS-2855: Remove unnecessary SOLR query during startup of SOLR Logger
This commit is contained in:
@@ -120,9 +120,6 @@ public class SolrLoggerServiceImpl implements SolrLoggerService, InitializingBea
|
||||
try
|
||||
{
|
||||
server = new HttpSolrServer(ConfigurationManager.getProperty("solr-statistics", "server"));
|
||||
SolrQuery solrQuery = new SolrQuery()
|
||||
.setQuery("type:2 AND id:1");
|
||||
server.query(solrQuery);
|
||||
|
||||
//Attempt to retrieve all the statistic year cores
|
||||
File solrDir = new File(ConfigurationManager.getProperty("dspace.dir") + "/solr/");
|
||||
|
Reference in New Issue
Block a user