Agree. I've been using Solrj on product site for 9 months without any
problem at all. You should probably give it a try instead of dealing with
all those low level details.


On Sun, May 11, 2008 at 4:14 AM, Chris Hostetter <[EMAIL PROTECTED]>
wrote:

>
> : please post a snippet of Java code to add a document to the Solr index
> that
> : includes the URL reference as a String?
>
> you mean like this one...   :)
>
>
> http://svn.apache.org/viewvc/lucene/solr/trunk/src/java/org/apache/solr/util/SimplePostTool.java?view=markup
>
> FWIW: if you want to talk to Solr from a Java app, the SolrJ client API
> is probably worth looking into rather then dealing with the HTTP
> connections and XML formating directly...
>
> http://wiki.apache.org/solr/Solrj
>
>
> -Hoss
>
>


-- 
Regards,

Cuong Hoang

Reply via email to