[
https://issues.apache.org/jira/browse/SOLR-7766?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14620221#comment-14620221
]
ASF GitHub Bot commented on SOLR-7766:
--------------------------------------
GitHub user cpoerschke opened a pull request:
https://github.com/apache/lucene-solr/pull/186
SOLR-7766: support creation of a coreless collection
for https://issues.apache.org/jira/i#browse/SOLR-7766
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/bloomberg/lucene-solr
trunk-create-coreless-collection
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/lucene-solr/pull/186.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #186
----
commit 74d2d93b24dcb4e8aa4f72a386b2a1f02abd7aa9
Author: Christine Poerschke <[email protected]>
Date: 2015-04-02T16:22:04Z
SOLR-????: support creation of a coreless collection
By supplying a deliberately empty create node set (via
.../solr/admin/collections?action=CREATE&createNodeSet=&name=myCollection&...)
the collection can be created in the usual manner but it will just not yet
contain any cores for any of its shards. Later on
.../solr/admin/collections?wt=json&action=ADDREPLICA&collection=myCollection&...
calls can create cores as and when and where required.
The change to suppport this small new feature is in
OverseerCollectionProcessor.java and in TestMiniSolrCloudCluster a new test
case (testCollectionCreateWithoutCoresThenDelete) was added.
----
> support creation of a coreless collection
> -----------------------------------------
>
> Key: SOLR-7766
> URL: https://issues.apache.org/jira/browse/SOLR-7766
> Project: Solr
> Issue Type: New Feature
> Reporter: Christine Poerschke
> Priority: Minor
>
> By supplying a deliberately empty create node set (via
> {{.../solr/admin/collections?action=CREATE&createNodeSet=&name=myCollection&...}})
> the collection can be created in the usual manner but it will just not yet
> contain any cores for any of its shards. Later on
> {{.../solr/admin/collections?wt=json&action=ADDREPLICA&collection=myCollection&...}}
> calls can create cores as and when and where required.
> github pull request with proposed changes to follow.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]