RE: EmbeddedSolr for unit tests in Solr 6

2016-04-13 Thread Rohana Rajapakse
: Shalin Shekhar Mangar [mailto:shalinman...@gmail.com] Sent: 12 April 2016 13:19 To: solr-user@lucene.apache.org Subject: Re: EmbeddedSolr for unit tests in Solr 6 Rohana, as I said earlier, the MiniSolrCloudCluster is specifically made for your use-case i.e. where you want to quickly setup a

Re: EmbeddedSolr for unit tests in Solr 6

2016-04-12 Thread Shalin Shekhar Mangar
---Original Message- > From: Joe Lawson [mailto:jlaw...@opensourceconnections.com] > Sent: 11 April 2016 17:31 > To: solr-user@lucene.apache.org > Subject: Re: EmbeddedSolr for unit tests in Solr 6 > > Check for example tests here too: > > https://github.com/apache/lucene-so

RE: EmbeddedSolr for unit tests in Solr 6

2016-04-12 Thread Rohana Rajapakse
: 11 April 2016 17:31 To: solr-user@lucene.apache.org Subject: Re: EmbeddedSolr for unit tests in Solr 6 Check for example tests here too: https://github.com/apache/lucene-solr/tree/master/solr/core/src/test/org/apache/solr On Mon, Apr 11, 2016 at 12:24 PM, Shalin Shekhar Mangar < shalin

Re: EmbeddedSolr for unit tests in Solr 6

2016-04-11 Thread Joe Lawson
t; > > I have debugged this a bit and found that this exception is thrown on the > > following line in EmbeddedServer.class > > > > _parser = new SolrRequestParsers(null); > > > > Also, the coreContainer object has no cores at this point. > > > > > >

Re: EmbeddedSolr for unit tests in Solr 6

2016-04-11 Thread Shalin Shekhar Mangar
rRequestParsers(null); > > Also, the coreContainer object has no cores at this point. > > > Wonder if I should update my code from master (it is now about two weeks > old). > > Thanks for any help. > > Rohana > > > -Original Message- > F

RE: EmbeddedSolr for unit tests in Solr 6

2016-04-11 Thread Rohana Rajapakse
] Sent: 08 April 2016 16:46 To: solr-user@lucene.apache.org Subject: Re: EmbeddedSolr for unit tests in Solr 6 On 4/8/2016 7:51 AM, Rohana Rajapakse wrote: > Thanks. I know it exists, but don't know how to use it. > > I am trying to use EmbeddedSolrServer(Path solrHome, String >

Re: EmbeddedSolr for unit tests in Solr 6

2016-04-08 Thread Shawn Heisey
On 4/8/2016 7:51 AM, Rohana Rajapakse wrote: > Thanks. I know it exists, but don't know how to use it. > > I am trying to use EmbeddedSolrServer(Path solrHome, String defaultCoreName) > > What should be the "solrHome"? Should it be the actual solr home (i.e. > lucene-solr-master\solr\server\solr)

RE: EmbeddedSolr for unit tests in Solr 6

2016-04-08 Thread Rohana Rajapakse
eProcessorTest.java:140) at com.gossinteractive.solr.DocPhraseUpdateProcessorTest.setUp(DocPhraseUpdateProcessorTest.java:98) ... -Original Message- From: Shawn Heisey [mailto:apa...@elyograg.org] Sent: 08 April 2016 14:35 To: solr-user@lucene.apache.org Subject: Re: EmbeddedSolr for unit tests in

Re: EmbeddedSolr for unit tests in Solr 6

2016-04-08 Thread Shawn Heisey
On 4/8/2016 2:35 AM, Rohana Rajapakse wrote: > Can someone please tell me how to create a temporary Solr server > programmatically for the use of Unit Tests? I was using EmbeddedSolrServer in > Solr 4.x. How do you do thi in Solr 6.x? EmbeddedSolrServer still exists in 6.x. There may be *minor*

EmbeddedSolr for unit tests in Solr 6

2016-04-08 Thread Rohana Rajapakse
Hi, Can someone please tell me how to create a temporary Solr server programmatically for the use of Unit Tests? I was using EmbeddedSolrServer in Solr 4.x. How do you do thi in Solr 6.x? Thanks in advance for any help, Rohana Registered Office: 24 Darklake View, Estover, Plymouth, PL6 7TL