[ 
https://issues.apache.org/jira/browse/SOLR-4193?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13533054#comment-13533054
 ] 

Mark Miller commented on SOLR-4193:
-----------------------------------

bq. To get filenames, try multi-part posts:

Thanks, I'll test it out and look at if we can improve the post tool in this 
area.

bq. optionally take a different confName in case you're prepping a config for a 
new collection that doesn't exist yet.

You can currently override the confName, but it won't yet create a new config 
set if it doesn't already exist. Meant to get that in though.

bq. upload a whole config-set/directory?

Yeah, I wasn't sure how easy it was to post multiple files in one shot on the 
cmd line, but looks pretty easy - would be nicer if you could glob all the 
filenames somehow though. I'll make sure this works on the back end.

bq. any way to share some stuff w/ ZkCLI?

Yup, ZkCLI lives on ZkController, so this can all share code.

bq. what stuff belongs here vs collections API?

Good question. I'll have to think more - don't see an obvious answer.
                
> 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

Reply via email to