mirror of https://github.com/apache/lucene.git
SOLR-6624: Spelling mistakes in the Java source
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1631924 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
048d0e7bf4
commit
8ecb8f5c88
|
@ -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-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
|
Optimizations
|
||||||
----------------------
|
----------------------
|
||||||
|
|
||||||
|
|
|
@ -1228,7 +1228,7 @@ public class SnapPuller {
|
||||||
//read the size of the packet
|
//read the size of the packet
|
||||||
int packetSize = readInt(intbytes);
|
int packetSize = readInt(intbytes);
|
||||||
if (packetSize <= 0) {
|
if (packetSize <= 0) {
|
||||||
LOG.warn("No content recieved for file: " + currentFile);
|
LOG.warn("No content received for file: " + currentFile);
|
||||||
return NO_CONTENT;
|
return NO_CONTENT;
|
||||||
}
|
}
|
||||||
if (buf.length < packetSize)
|
if (buf.length < packetSize)
|
||||||
|
@ -1496,7 +1496,7 @@ public class SnapPuller {
|
||||||
//read the size of the packet
|
//read the size of the packet
|
||||||
int packetSize = readInt(intbytes);
|
int packetSize = readInt(intbytes);
|
||||||
if (packetSize <= 0) {
|
if (packetSize <= 0) {
|
||||||
LOG.warn("No content recieved for file: " + currentFile);
|
LOG.warn("No content received for file: " + currentFile);
|
||||||
return NO_CONTENT;
|
return NO_CONTENT;
|
||||||
}
|
}
|
||||||
if (buf.length < packetSize)
|
if (buf.length < packetSize)
|
||||||
|
|
|
@ -63,7 +63,7 @@ class RunUpdateProcessor extends UpdateRequestProcessor
|
||||||
if (DistributedUpdateProcessor.isAtomicUpdate(cmd)) {
|
if (DistributedUpdateProcessor.isAtomicUpdate(cmd)) {
|
||||||
throw new SolrException
|
throw new SolrException
|
||||||
(SolrException.ErrorCode.BAD_REQUEST,
|
(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);
|
updateHandler.addDoc(cmd);
|
||||||
|
|
|
@ -306,7 +306,7 @@ public class DocumentBuilderTest extends SolrTestCaseJ4 {
|
||||||
assertEquals(1.0F, outText[3].boost(), 0.0F);
|
assertEquals(1.0F, outText[3].boost(), 0.0F);
|
||||||
assertEquals(1.0F, outText[4].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[0].boost(), 0.0F);
|
||||||
assertEquals(1.0F, outNoNorms[1].boost(), 0.0F);
|
assertEquals(1.0F, outNoNorms[1].boost(), 0.0F);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue