Skip to content

Apache Lucene open-source search software

- Comment fixes

Otis Gospodnetic90d1f4832b19
diff --git a/src/java/org/apache/solr/core/SolrCore.java b/src/java/org/apache/solr/core/SolrCore.java
index 554b566eec5..680f542e869 100644
--- a/src/java/org/apache/solr/core/SolrCore.java
+++ b/src/java/org/apache/solr/core/SolrCore.java
@@ -273,7 +273,7 @@ public final class SolrCore {
*
* <p>
* If <tt>forceNew==true</tt> then
- * A new searcher will be opened and registered irregardless if there is already
+ * A new searcher will be opened and registered regardless of whether there is already
* a registered searcher or other searchers in the process of being created.
* <p>
* If <tt>forceNew==false</tt> then:<ul>
@@ -313,7 +313,7 @@ public final class SolrCore {
}
}
- // check to see if we can wait for someone elses searcher to be set
+ // check to see if we can wait for someone else's searcher to be set
if (onDeckSearchers>0 && !forceNew && _searcher==null) {
try {
searcherLock.wait();