From b1de7364b1a1227d91a5baa983b99a61990339d5 Mon Sep 17 00:00:00 2001 From: Christine Poerschke Date: Mon, 19 Dec 2016 16:05:06 +0000 Subject: [PATCH] SOLR-9870: fix two typos in SolrCore.java (Mike Drob via Christine Poerschke) --- solr/core/src/java/org/apache/solr/core/SolrCore.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/solr/core/src/java/org/apache/solr/core/SolrCore.java b/solr/core/src/java/org/apache/solr/core/SolrCore.java index 0fbddce55f1..6d06d2dabd9 100644 --- a/solr/core/src/java/org/apache/solr/core/SolrCore.java +++ b/solr/core/src/java/org/apache/solr/core/SolrCore.java @@ -1683,7 +1683,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 openNewSearcher(boolean updateHandlerReopens, boolean realtime) { if (isClosed()) { // catch some errors quicker @@ -1964,7 +1964,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.