You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Timothy Potter (JIRA)" <ji...@apache.org> on 2015/03/25 18:27:54 UTC
[jira] [Commented] (SOLR-7307) Make it easier to create an
EmbeddedSolrServer
[ https://issues.apache.org/jira/browse/SOLR-7307?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14380300#comment-14380300 ]
Timothy Potter commented on SOLR-7307:
--------------------------------------
Be good to pass a path to a config directory in ZK too ... I do something similar in the Solr Spark project:
https://github.com/LucidWorks/spark-solr/blob/master/src/main/java/com/lucidworks/spark/util/EmbeddedSolrServerFactory.java
> Make it easier to create an EmbeddedSolrServer
> ----------------------------------------------
>
> Key: SOLR-7307
> URL: https://issues.apache.org/jira/browse/SOLR-7307
> Project: Solr
> Issue Type: Improvement
> Reporter: Alan Woodward
> Attachments: SOLR-7307.patch, SOLR-7307.patch, SOLR-7307.patch
>
>
> At the moment, if you want to create an EmbeddedSolrServer you have to instantiate a CoreContainer and then pass it in to the ESS constructor, which involves a fair amount of ceremony. You should be able to just pass a path to a solr home directory, or a NodeConfig object.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org