Re: Running Solr-Server inside other process

2017-08-27 Thread Erick Erickson
Take a look at the usages in Solr tests, and the class's constructor, it's pretty straightforward. It extends SolrClient so once you create one you can use it as you would connecting to a remote Solr server. Note that the core you specify for some of the c'tors is the _default_, you can use Embedd

Re: Running Solr-Server inside other process

2017-08-27 Thread S G
Thanks Erick, Yes, this seems to be what I want. Is there a good example of how to use it? Thanks SG On Thu, Aug 24, 2017 at 5:02 PM, Erick Erickson wrote: > Solr has the EmbeddedSolrServer is that what you're looking for? > > Best, > Erick > > On Thu, Aug 24, 2017 at 11:15 AM, S G wrote: >

Re: Running Solr-Server inside other process

2017-08-24 Thread Erick Erickson
Solr has the EmbeddedSolrServer is that what you're looking for? Best, Erick On Thu, Aug 24, 2017 at 11:15 AM, S G wrote: > Hi, > > We are looking to run Solr in-memory for testing and examples. > > For example: > 1) Cassandra has cassandra-unit: > https://github.com/jsevellec/cassandra-unit/wik

Running Solr-Server inside other process

2017-08-24 Thread S G
Hi, We are looking to run Solr in-memory for testing and examples. For example: 1) Cassandra has cassandra-unit: https://github.com/jsevellec/cassandra-unit/wiki/How-to-use-it-in-your-code 2) Storm has local-mode: http://storm.apache.org/releases/current/Local-mode.html Is there something simil