From 9a5a4ed7b42e72e20ac212ed31a1667091bec164 Mon Sep 17 00:00:00 2001 From: Erik Hatcher Date: Thu, 24 Dec 2009 10:50:09 +0000 Subject: [PATCH] Minor typo corrections git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@893728 13f79535-47bb-0310-9956-ffa450edef68 --- .../client/solrj/impl/StreamingUpdateSolrServer.java | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/src/solrj/org/apache/solr/client/solrj/impl/StreamingUpdateSolrServer.java b/src/solrj/org/apache/solr/client/solrj/impl/StreamingUpdateSolrServer.java index a0185cb39f0..b328c861848 100644 --- a/src/solrj/org/apache/solr/client/solrj/impl/StreamingUpdateSolrServer.java +++ b/src/solrj/org/apache/solr/client/solrj/impl/StreamingUpdateSolrServer.java @@ -43,7 +43,7 @@ import org.slf4j.LoggerFactory; /** * 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 @@ public class StreamingUpdateSolrServer extends CommonsHttpSolrServer /** * 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 @@ public class StreamingUpdateSolrServer extends CommonsHttpSolrServer } /** - * 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 @@ public class StreamingUpdateSolrServer extends CommonsHttpSolrServer } } catch (InterruptedException e) { - log.error( "interuped", e ); + log.error( "interrupted", e ); throw new IOException( e.getLocalizedMessage() ); }