On Sat, 2007-01-06 at 23:56 -0800, Ryan McKinley wrote:
> I just posted a solr client that does search and update to SOLR-20.
> 
> With the addition of:
>   \solr\client\ruby\solrb
> 
> it seems appropriate to put this (or equivalent) in:
>   \solr\client\java\solrj
> 
> This version only depends on xpp3-1.1.3.4.O.jar.  It is currently
> using the java.net.HttpURLConnection.  It would not be difficult to
> change this to jakarta HttpClient if that seems like a better idea.

I had a look (very nice good work Ryan) and changing
java.net.HttpURLConnection to HttpClient is the only thing I personally
did. 

I did something similar:
http://svn.apache.org/viewvc/forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.output.solr/src/java/org/apache/forrest/http/client/PostFile.java?view=markup

I just noticed that I did not commit last night. The public
PostFile(String destinationUrl, String srcUrl) is now PostFile(String
destinationUrl, InputStream stream).

salu2

> 
> thanks
> ryan

Reply via email to