Apache Lucene open-source search software
SOLR-9870: fix two typos in SolrCore.java (Mike Drob via Christine Poerschke)
Christine Poerschke07609443c5c7
diff --git a/solr/core/src/java/org/apache/solr/core/SolrCore.java b/solr/core/src/java/org/apache/solr/core/SolrCore.javaindex b3facefd7b6..f75e7800025 100644--- a/solr/core/src/java/org/apache/solr/core/SolrCore.java+++ b/solr/core/src/java/org/apache/solr/core/SolrCore.java@@ -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 neededif (newSearcher != currSearcher) {// warm the new searcher based on the current searcher.