You are viewing a plain text version of this content. The canonical link for it is here.
Posted to solr-commits@lucene.apache.org by Apache Wiki <wi...@apache.org> on 2008/05/19 02:38:31 UTC
[Solr Wiki] Trivial Update of "Solrj" by KarlWettin
Dear Wiki user,
You have subscribed to a wiki page or wiki category on "Solr Wiki" for change notification.
The following page has been changed by KarlWettin:
http://wiki.apache.org/solr/Solrj
The comment on the change is:
added a ; to the end of a line of code
------------------------------------------------------------------------------
The [http://svn.apache.org/repos/asf/lucene/solr/trunk/client/java/solrj/src/org/apache/solr/client/solrj/impl/CommonsHttpSolrServer.java CommonsHttpSolrServer] uses the [http://jakarta.apache.org/httpcomponents/httpclient-3.x/ Apache Commons HTTP Client] to connect to solr.
{{{
- String url = "http://localhost:8983/solr"
+ String url = "http://localhost:8983/solr";
SolrServer server = new CommonsHttpSolrServer( url );
...
}}}