lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Shawn Heisey <apa...@elyograg.org>
Subject Re: EmbeddedSolr for unit tests in Solr 6
Date Fri, 08 Apr 2016 13:35:26 GMT
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* differences in usage -- you are upgrading two major
releases -- but if there are, they shouldn't be too hard to figure out.

https://www.dropbox.com/s/iokyb3wijtaz7xg/embeddedsolrserver.png?dl=0
https://lucene.apache.org/solr/6_0_0/solr-core/org/apache/solr/client/solrj/embedded/EmbeddedSolrServer.html

Thanks,
Shawn


Mime
View raw message