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 eh...@apache.org on 2009/12/24 11:50:09 UTC
svn commit: r893728 -
/lucene/solr/trunk/src/solrj/org/apache/solr/client/solrj/impl/StreamingUpdateSolrServer.java
Author: ehatcher
Date: Thu Dec 24 10:50:09 2009
New Revision: 893728
URL: http://svn.apache.org/viewvc?rev=893728&view=rev
Log:
Minor typo corrections
Modified:
lucene/solr/trunk/src/solrj/org/apache/solr/client/solrj/impl/StreamingUpdateSolrServer.java
Modified: lucene/solr/trunk/src/solrj/org/apache/solr/client/solrj/impl/StreamingUpdateSolrServer.java
URL: http://svn.apache.org/viewvc/lucene/solr/trunk/src/solrj/org/apache/solr/client/solrj/impl/StreamingUpdateSolrServer.java?rev=893728&r1=893727&r2=893728&view=diff
==============================================================================
--- lucene/solr/trunk/src/solrj/org/apache/solr/client/solrj/impl/StreamingUpdateSolrServer.java (original)
+++ lucene/solr/trunk/src/solrj/org/apache/solr/client/solrj/impl/StreamingUpdateSolrServer.java Thu Dec 24 10:50:09 2009
@@ -43,7 +43,7 @@
/**
* StreamingHttpSolrServer buffers all added documents and writes them
- * into open http connections. This class is thread safe.
+ * into open HTTP connections. This class is thread safe.
*
* Although any SolrServer request can be made with this implementation,
* it is only recommended to use the {@link StreamingUpdateSolrServer} with
@@ -66,9 +66,9 @@
/**
* Uses an internal MultiThreadedHttpConnectionManager to manage http connections
*
- * @param solrServerUrl The solr server url
- * @param queueSize The buffer size before the documents are sent o the server
- * @param threadCount The number of backgtound threads used to empty the queue
+ * @param solrServerUrl The Solr server URL
+ * @param queueSize The buffer size before the documents are sent to the server
+ * @param threadCount The number of background threads used to empty the queue
* @throws MalformedURLException
*/
public StreamingUpdateSolrServer(String solrServerUrl, int queueSize, int threadCount) throws MalformedURLException {
@@ -76,7 +76,7 @@
}
/**
- * Uses the supplied HttpClient to send documents to the solr server, the HttpClient should be instantiated using a
+ * Uses the supplied HttpClient to send documents to the Solr server, the HttpClient should be instantiated using a
* MultiThreadedHttpConnectionManager.
*/
public StreamingUpdateSolrServer(String solrServerUrl, HttpClient client, int queueSize, int threadCount) throws MalformedURLException {
@@ -224,7 +224,7 @@
}
}
catch (InterruptedException e) {
- log.error( "interuped", e );
+ log.error( "interrupted", e );
throw new IOException( e.getLocalizedMessage() );
}