[ https://issues.apache.org/jira/browse/SOLR-4193?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13532909#comment-13532909 ]
Mark Miller commented on SOLR-4193: ----------------------------------- usage would be something like: {noformat} java -Durl=http://localhost:8983/solr/collection1/zkconfig?fileName=solrconfig.xml -jar post.jar solrconfig.xml java -Durl=http://localhost:8983/solr/collection1/zkconfig?fileName=solrconfig.xml&configName=conf1 -jar post.jar solrconfig.xml {noformat} If the ContentStream coming in has a name, that can be used as well, but in my testing, posting a file to Solr does not result in a content stream that has the name of that file. > A ZooKeeper RequestHandler that allows you to post config files to a > collections linked config set or a specific config set. > ---------------------------------------------------------------------------------------------------------------------------- > > Key: SOLR-4193 > URL: https://issues.apache.org/jira/browse/SOLR-4193 > Project: Solr > Issue Type: New Feature > Components: SolrCloud > Reporter: Mark Miller > Assignee: Mark Miller > Priority: Minor > Fix For: 4.1, 5.0 > > Attachments: SOLR-4193.patch, SOLR-4193.patch > > > Could have an admin zk handler and one per core? > An admin zk handler would allow you to access it without specifying an > existing core if done right. > One per core lets you do things like: > post solrconfig.xml to localhost:8983:/solr/collection1/zkhandler > Then we look up what config set we linked to and overwrite the solrconfig.xml. > You can already GET config files through another handler, so at the moment > I'd avoid duplicating that. > Could imagine adding commands over time though. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org For additional commands, e-mail: dev-h...@lucene.apache.org