[ https://issues.apache.org/jira/browse/SOLR-4193?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13533048#comment-13533048 ]
Yonik Seeley commented on SOLR-4193: ------------------------------------ To get filenames, try multi-part posts: curl http://localhost:8983/solr -F file1=@books.csv -Ffile2=@books.json I like using "nc -l 8983" as the server first in these cases to see exactly what's coming across the wire. And it seems like we should support multiple config files at once - say you add a field that references stopwords2.txt to schema.xml and want to upload the stopwords2.txt at the same time? ideas: - optionally take a different confName in case you're prepping a config for a new collection that doesn't exist yet. - upload a whole config-set/directory? - any way to share some stuff w/ ZkCLI? - what stuff belongs here vs collections API? > 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