Skip to content

Apache Lucene open-source search software

SOLR-6624: Spelling mistakes in the Java source

Gregory Chanan8ecb8f5c88a2
diff --git a/solr/CHANGES.txt b/solr/CHANGES.txt
index d0b028238c5..9e07ea5e30f 100644
--- a/solr/CHANGES.txt
+++ b/solr/CHANGES.txt
@@ -228,6 +228,8 @@ Bug Fixes
* SOLR-6540 Fix NPE from strdist() func when doc value source does not exist in a doc (hossman)
+* SOLR-6624 Spelling mistakes in the Java source (Hrishikesh Gadre)
+
Optimizations
----------------------
diff --git a/solr/core/src/java/org/apache/solr/handler/SnapPuller.java b/solr/core/src/java/org/apache/solr/handler/SnapPuller.java
index ddc1269f1ac..8feeac50a49 100644
--- a/solr/core/src/java/org/apache/solr/handler/SnapPuller.java
+++ b/solr/core/src/java/org/apache/solr/handler/SnapPuller.java
@@ -1228,7 +1228,7 @@ public class SnapPuller {
//read the size of the packet
int packetSize = readInt(intbytes);
if (packetSize <= 0) {
- LOG.warn("No content recieved for file: " + currentFile);
+ LOG.warn("No content received for file: " + currentFile);
return NO_CONTENT;
}
if (buf.length < packetSize)
@@ -1496,7 +1496,7 @@ public class SnapPuller {
//read the size of the packet
int packetSize = readInt(intbytes);
if (packetSize <= 0) {
- LOG.warn("No content recieved for file: " + currentFile);
+ LOG.warn("No content received for file: " + currentFile);
return NO_CONTENT;
}
if (buf.length < packetSize)
diff --git a/solr/core/src/java/org/apache/solr/update/processor/RunUpdateProcessorFactory.java b/solr/core/src/java/org/apache/solr/update/processor/RunUpdateProcessorFactory.java
index 5852709d23f..c893f28d189 100644
--- a/solr/core/src/java/org/apache/solr/update/processor/RunUpdateProcessorFactory.java
+++ b/solr/core/src/java/org/apache/solr/update/processor/RunUpdateProcessorFactory.java
@@ -63,7 +63,7 @@ class RunUpdateProcessor extends UpdateRequestProcessor
if (DistributedUpdateProcessor.isAtomicUpdate(cmd)) {
throw new SolrException
(SolrException.ErrorCode.BAD_REQUEST,
- "RunUpdateProcessor has recieved an AddUpdateCommand containing a document that appears to still contain Atomic document update operations, most likely because DistributedUpdateProcessorFactory was explicitly disabled from this updateRequestProcessorChain");
+ "RunUpdateProcessor has received an AddUpdateCommand containing a document that appears to still contain Atomic document update operations, most likely because DistributedUpdateProcessorFactory was explicitly disabled from this updateRequestProcessorChain");
}
updateHandler.addDoc(cmd);
diff --git a/solr/core/src/test/org/apache/solr/update/DocumentBuilderTest.java b/solr/core/src/test/org/apache/solr/update/DocumentBuilderTest.java
index f4479fceb02..483a33a7947 100644
--- a/solr/core/src/test/org/apache/solr/update/DocumentBuilderTest.java
+++ b/solr/core/src/test/org/apache/solr/update/DocumentBuilderTest.java
@@ -306,7 +306,7 @@ public class DocumentBuilderTest extends SolrTestCaseJ4 {
assertEquals(1.0F, outText[3].boost(), 0.0F);
assertEquals(1.0F, outText[4].boost(), 0.0F);
- // copyField dest with no norms should not have recieved any boost
+ // copyField dest with no norms should not have received any boost
assertEquals(1.0F, outNoNorms[0].boost(), 0.0F);
assertEquals(1.0F, outNoNorms[1].boost(), 0.0F);