public void runFixtures() {
Environment env = applicationContext.getEnvironment();
boolean runFixtures = env.getProperty(SOLR_FIXTURES, boolean.class, true);
if (runFixtures) {
Map<String, SolrServer> servers = applicationContext.getBeansOfType(SolrServer.class);
CoreContainer cores = applicationContext.getBean(CoreContainer.class);
String solrHome = cores.getSolrHome();
boolean async = env.getProperty(SOLR_FIXTURES_ASYNC, boolean.class, true);
for (Entry<String, SolrServer> server : servers.entrySet()) {
String coreName = server.getKey();