Minor typo corrections

git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@893728 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Erik Hatcher 2009-12-24 10:50:09 +00:00
parent 1c2de4a024
commit 9a5a4ed7b4
1 changed files with 6 additions and 6 deletions

View File

@ -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() );
}