[ https://issues.apache.org/jira/browse/SOLR-7307?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14380316#comment-14380316 ]
Alan Woodward commented on SOLR-7307: ------------------------------------- I don't think we should be automatically creating cores here? The idea is that either you can point the ESS at an already-existing installation, or you can create cores via CoreAdmin requests (as I do in the tests in this patch). I'm not sure how well ESS would play with ZK and a SolrCloud setup anyway, as it can't respond to requests over HTTP. > 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-unsubscr...@lucene.apache.org For additional commands, e-mail: dev-h...@lucene.apache.org