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

Bertrand Delacretaz commented on SOLR-86:
-----------------------------------------

I like the idea of a very simple "update only" client.

It's probably simple enough to create two versions, one using HttpClient and 
one with no dependencies apart from the JDK? I agree with Hoss that the post.sh 
replacement should use the latter.

IMHO it's good to show the use of HttpClient for people who're going to base 
more complex clients on it, and a "no depedencies" client is useful for simple 
cases.

Maybe (thinking outloud here) both clients could implement a common 
SolrUpdateClientInterface, and update+search clients would implement a 
SolrSearchInterface as well.

> [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