[
https://issues.apache.org/jira/browse/SOLR-7766?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14649679#comment-14649679
]
Christine Poerschke commented on SOLR-7766:
-------------------------------------------
I agree re: the differentiation between {{createNodeSet}} missing and
{{createNodeSet=}} present-and-empty is very subtle. Would a special value e.g.
{{createNodeSet=EMPTY}} be clearer?
The way i read
[OverseerCollectionProcessor.java|https://github.com/apache/lucene-solr/blob/trunk/solr/core/src/java/org/apache/solr/cloud/OverseerCollectionProcessor.java]
line 2233 currently an empty parameter would result in an error, right? [Draft
Collections API
docs|https://cwiki.apache.org/confluence/display/solr/Collections+API?src=search]
list 'empty' as the default though (should it be 'blank box' as for 'async'?).
Will update github pull request against latest trunk (with createNodeSet=)
shortly and definitely hold off on any commits until agreement on how to
request coreless collection creation is reached.
> 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
> Assignee: Christine Poerschke
> Priority: Minor
> Attachments: SOLR-7766.patch
>
>
> 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]