solrServerUrl is only used when user choose a standalone solr server:
return new HttpSolrServer(solrServerUrl);
I wonder should I keep the solrServerUrl variable and its getter and 
setter in order to inject it via spring config xml?


On 08.10.2013 16:11, Andrew Woods wrote:
>
> In 
> fcrepo-jms-indexer-core/src/main/java/org/fcrepo/indexer/SolrServerFactory.java:
>
> > -		
> > -		}
> > -		else
> > -		{
> > -			//new Corecon
> > -			CoreContainer cc = new CoreContainer(getSolrTestHome());
> > -			EmbeddedSolrServer embeddedSolrServer = new EmbeddedSolrServer(cc, "");
> > -			return embeddedSolrServer;
> > -		}
> > -		
> > -	}
> > +    private static final Logger LOGGER = getLogger(SolrServerFactory.class);
> > +
> > +    private boolean embedded = false;
> > +
> > +    private String solrServerUrl;
>
> solrServerUrl is not used.
>
> —
> Reply to this email directly or view it on GitHub 
> <https://github.com/awoods/fcrepo-jms-indexer-pluggable/pull/1/files#r6826482>.
>