Skip to content

Apache Lucene open-source search software

SOLR-7979: Fix two typos (in a CoreAdminHandler log message and a TestCloudPivotFacet comment).

Christine Poerschke8ce033a97104
diff --git a/solr/CHANGES.txt b/solr/CHANGES.txt
index 7172ed10fcf..7f6b680cc93 100644
--- a/solr/CHANGES.txt
+++ b/solr/CHANGES.txt
@@ -217,6 +217,9 @@ Other Changes
* SOLR-7942: Previously removed unlockOnStartup option (LUCENE-6508) now logs warning if configured,
will be an error in 6.0. Also improved error msg if an index is locked on startup (hossman)
+* SOLR-7979: Fix two typos (in a CoreAdminHandler log message and a TestCloudPivotFacet comment).
+ (Mike Drob via Christine Poerschke)
+
================== 5.3.0 ==================
Consult the LUCENE_CHANGES.txt file for additional, low level, changes in this release
diff --git a/solr/core/src/java/org/apache/solr/handler/admin/CoreAdminHandler.java b/solr/core/src/java/org/apache/solr/handler/admin/CoreAdminHandler.java
index 16730852c3a..ee1ee9334cf 100644
--- a/solr/core/src/java/org/apache/solr/handler/admin/CoreAdminHandler.java
+++ b/solr/core/src/java/org/apache/solr/handler/admin/CoreAdminHandler.java
@@ -883,7 +883,7 @@ public class CoreAdminHandler extends RequestHandlerBase {
throw new SolrException(ErrorCode.SERVER_ERROR, "Sync Failed");
}
} else {
- SolrException.log(log, "Cound not find core to call sync:" + cname);
+ SolrException.log(log, "Could not find core to call sync:" + cname);
}
} finally {
// no recoveryStrat close for now
diff --git a/solr/core/src/test/org/apache/solr/cloud/TestCloudPivotFacet.java b/solr/core/src/test/org/apache/solr/cloud/TestCloudPivotFacet.java
index db7dbdc40dc..ef48786ebf8 100644
--- a/solr/core/src/test/org/apache/solr/cloud/TestCloudPivotFacet.java
+++ b/solr/core/src/test/org/apache/solr/cloud/TestCloudPivotFacet.java
@@ -291,7 +291,7 @@ public class TestCloudPivotFacet extends AbstractFullDistribZkTestBase {
}
/**
- * Recursive Helper method for asserting that pivot constraint counds match
+ * Recursive Helper method for asserting that pivot constraint counts match
* results when filtering on those constraints. Returns the recursive depth reached
* (for sanity checking)
*/