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 <cpoersc...@bloomberg.net>
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.

----


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org
For additional commands, e-mail: dev-h...@lucene.apache.org

Reply via email to