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

Thorsten Scherler commented on SOLR-86:
---------------------------------------

Yeah, I know what you mean (had a similar problem today). 

if (!file.isDirectory()){
tool.postFile(file, out); 
}

should fix that. 

TIA



> [PATCH]  standalone updater cli based on httpClient
> ---------------------------------------------------
>
>                 Key: SOLR-86
>                 URL: https://issues.apache.org/jira/browse/SOLR-86
>             Project: Solr
>          Issue Type: New Feature
>          Components: update
>            Reporter: Thorsten Scherler
>         Attachments: simple-post-using-urlconnection-approach.patch, 
> solr-86.diff, solr-86.diff
>
>
> We need a cross platform replacement for the post.sh. 
> The attached code is a direct replacement of the post.sh since it is actually 
> doing the same exact thing.
> In the future one can extend the CLI with other feature like auto commit, 
> etc.. 
> Right now the code assumes that SOLR-85 is applied since we using the servlet 
> of this issue to actually do the update.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
https://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to