[ https://issues.apache.org/jira/browse/SOLR-6840?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14280130#comment-14280130 ]
Alan Woodward commented on SOLR-6840: ------------------------------------- I'm going to have abandon the idea of using MiniSolrCloudCluster for now, I think. There are so many tests that make assumptions about which cores have been placed where that trying to use the CoreAdmin and CollectionAdmin APIs break too many things. And there's still a nasty API mismatch on SolrClient which means that you need to use a different client to send admin requests and collection requests, which makes keeping track of which clients are being used for what a nightmare. In order to get this in and tests running, I'm going to hack it up so that it creates core.properties files in the relevant directories. Once that's done we can look at moving everything over to using MiniSolrCloudCluster, and working on a better SolrClient API, but that will have to be done one test at a time, and I don't think we should hold up the 5.0 release for the sake of the test framework. > Remove legacy solr.xml mode > --------------------------- > > Key: SOLR-6840 > URL: https://issues.apache.org/jira/browse/SOLR-6840 > Project: Solr > Issue Type: Task > Reporter: Steve Rowe > Assignee: Erick Erickson > Priority: Blocker > Fix For: 5.0 > > Attachments: SOLR-6840.patch, SOLR-6840.patch, SOLR-6840.patch, > SOLR-6840.patch > > > On the [Solr Cores and solr.xml > page|https://cwiki.apache.org/confluence/display/solr/Solr+Cores+and+solr.xml], > the Solr Reference Guide says: > {quote} > Starting in Solr 4.3, Solr will maintain two distinct formats for > {{solr.xml}}, the _legacy_ and _discovery_ modes. The former is the format we > have become accustomed to in which all of the cores one wishes to define in a > Solr instance are defined in {{solr.xml}} in > {{<cores><core/>...<core/></cores>}} tags. This format will continue to be > supported through the entire 4.x code line. > As of Solr 5.0 this form of solr.xml will no longer be supported. Instead > Solr will support _core discovery_. [...] > The new "core discovery mode" structure for solr.xml will become mandatory as > of Solr 5.0, see: Format of solr.xml. > {quote} > AFAICT, nothing has been done to remove legacy {{solr.xml}} mode from 5.0 or > trunk. -- 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