[ https://issues.apache.org/jira/browse/SOLR-7766?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14649660#comment-14649660 ]
Shalin Shekhar Mangar commented on SOLR-7766: --------------------------------------------- bq. replicationFactor can also be used as a target for things like autoAddReplicas. I think the empty createNodeSet makes a lot more sense. You forget that we now have a modify collection API which lets you change the replication factor among other things. Specifying an empty parameter to change the behavior of an API seems very hacky to me. An empty parameter should either have no effect or it should result in an error. > 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: dev-unsubscr...@lucene.apache.org For additional commands, e-mail: dev-h...@lucene.apache.org