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 a

Migrating junit tests from Solr 4.5.1 to Solr 5.2.1

2015-07-21 Thread Rich Hume
I am migrating from Solr 4.5.1 to Solr 5.2.1 on a Windows platform. I am using multi-core, but not Solr cloud. I am having issues with my suite of junit tests. My tests currently use code I found in SOLR-4502. I was wondering whether anyone could point me at best-practice examples of multi-c