RE: Migrating junit tests from Solr 4.5.1 to Solr 5.2.1

2015-07-27 Thread Rich Hume
again, Rich -Original Message- From: Erick Erickson [mailto:erickerick...@gmail.com] Sent: Wednesday, July 22, 2015 10:51 AM To: solr-user@lucene.apache.org Subject: Re: Migrating junit tests from Solr 4.5.1 to Solr 5.2.1 Take a look at TestCoreDiscovery.java, it creates a bunch of cores

Re: Migrating junit tests from Solr 4.5.1 to Solr 5.2.1

2015-07-22 Thread Erick Erickson
Take a look at TestCoreDiscovery.java, it creates a bunch of cores and tests loading them. You probably want to ignore anything about transient cores in that file. But... how are you creating cores? 5.x doesn't support defining multiple cores in solr.xml, so that's the first thing you need to be