private LocalListingSolrServerFactory() {
final Logger logger = Logger.getLogger("org.apache");
logger.setLevel(Level.ALL);
// set the Solr home
final ConfigProperties config = ConfigFactory.getInstance().getConfigProperties(ConfigFactory.SOLR_CONFIG_PATH);
final String solrHome = config.getProperty(ConfigProperties.CONFIG_NAME_SOLR_HOME, "/var/solr/solr");
System.setProperty("solr.solr.home", solrHome);
// a workaround to keep the data import handlers happy since they use a relative path
final String configFile = "/var/solr/solr/core-local/conf/data-config.xml";
System.setProperty("data.import.config", configFile);