You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lucene.apache.org by kr...@apache.org on 2016/12/20 16:39:48 UTC

[12/24] lucene-solr:jira/solr-8593: SOLR-9870: fix two typos in SolrCore.java (Mike Drob via Christine Poerschke)

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


Project: http://git-wip-us.apache.org/repos/asf/lucene-solr/repo
Commit: http://git-wip-us.apache.org/repos/asf/lucene-solr/commit/07609443
Tree: http://git-wip-us.apache.org/repos/asf/lucene-solr/tree/07609443
Diff: http://git-wip-us.apache.org/repos/asf/lucene-solr/diff/07609443

Branch: refs/heads/jira/solr-8593
Commit: 07609443c5c7675c41e8e5ac3b62576f41ee4be8
Parents: b22451f
Author: Christine Poerschke <cp...@apache.org>
Authored: Mon Dec 19 16:05:06 2016 +0000
Committer: Christine Poerschke <cp...@apache.org>
Committed: Mon Dec 19 16:14:51 2016 +0000

----------------------------------------------------------------------
 solr/core/src/java/org/apache/solr/core/SolrCore.java | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/lucene-solr/blob/07609443/solr/core/src/java/org/apache/solr/core/SolrCore.java
----------------------------------------------------------------------
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 b3facef..f75e780 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 needed
       if (newSearcher != currSearcher) {
 
         // warm the new searcher based on the current searcher.