[ 
https://issues.apache.org/jira/browse/SOLR-7307?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Alan Woodward updated SOLR-7307:
--------------------------------
    Attachment: SOLR-7307.patch

Patch, adding two new constructors:
* EmbeddedSolrServer(Path)
* EmbeddedSolrServer(NodeConfig)

This also deprecates the EmbeddedSolrServer(SolrCore) constructor, as you need 
to have a CoreContainer anyway, and rejigs the request() method so that you can 
fire CoreAdmin requests at it before there are any cores.

> 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
>
>
> 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: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to