SOLR-9870: fix two typos in SolrCore.java (Mike Drob via Christine Poerschke)

This commit is contained in:
Christine Poerschke 2016-12-19 16:05:06 +00:00
parent b22451f45e
commit 07609443c5
1 changed files with 2 additions and 2 deletions

View File

@ -1701,7 +1701,7 @@ public final class SolrCore implements SolrInfoMBean, Closeable {
*
* realtimeSearcher is updated to the latest opened searcher, regardless of the value of "realtime".
*
* This method acquires openSearcherLock - do not call with searckLock held!
* This method acquires openSearcherLock - do not call with searchLock held!
*/
public RefCounted<SolrIndexSearcher> openNewSearcher(boolean updateHandlerReopens, boolean realtime) {
if (isClosed()) { // catch some errors quicker
@ -1982,7 +1982,7 @@ public final class SolrCore implements SolrInfoMBean, Closeable {
Future future=null;
// if the underlying seracher has not changed, no warming is needed
// if the underlying searcher has not changed, no warming is needed
if (newSearcher != currSearcher) {
// warm the new searcher based on the current searcher.