Apache Solr open-source search software
Fix couple of typos.
Christine Poerschke1ccd55586280
diff --git a/lucene/test-framework/src/java/org/apache/lucene/util/LuceneTestCase.java b/lucene/test-framework/src/java/org/apache/lucene/util/LuceneTestCase.javaindex 95150fbbbd7..5d19587071c 100644--- a/lucene/test-framework/src/java/org/apache/lucene/util/LuceneTestCase.java+++ b/lucene/test-framework/src/java/org/apache/lucene/util/LuceneTestCase.java@@ -894,7 +894,7 @@ public abstract class LuceneTestCase extends Assert {* Convenience method for logging an iterator.** @param label String logged before/after the items in the iterator- * @param iter Each next() is toString()ed and logged on it's own line. If iter is null this is logged differnetly then an empty iterator.+ * @param iter Each next() is toString()ed and logged on its own line. If iter is null this is logged differently then an empty iterator.* @param stream Stream to log messages to.*/public static void dumpIterator(String label, Iterator<?> iter,diff --git a/solr/core/src/java/org/apache/solr/logging/log4j2/Log4j2Watcher.java b/solr/core/src/java/org/apache/solr/logging/log4j2/Log4j2Watcher.javaindex 35aecebf0a7..de79991f0c0 100644--- a/solr/core/src/java/org/apache/solr/logging/log4j2/Log4j2Watcher.java+++ b/solr/core/src/java/org/apache/solr/logging/log4j2/Log4j2Watcher.java@@ -147,7 +147,7 @@ public class Log4j2Watcher extends LogWatcher<LogEvent> {}}} else {- //It doesn't have it's own logger yet so let's create one+ //It doesn't have its own logger yet so let's create oneLoggerConfig explicitConfig = new LoggerConfig(loggerName, Level.valueOf(level), true);explicitConfig.setParent(loggerConfig);config.addLogger(loggerName, explicitConfig);diff --git a/solr/core/src/java/org/apache/solr/search/ReturnFields.java b/solr/core/src/java/org/apache/solr/search/ReturnFields.javaindex dcd47a61e86..c2d5973340c 100644--- a/solr/core/src/java/org/apache/solr/search/ReturnFields.java+++ b/solr/core/src/java/org/apache/solr/search/ReturnFields.java@@ -67,7 +67,7 @@ public abstract class ReturnFields {/*** Returns <code>true</code> if the specified field should be returned <em>to the external client</em>- * -- either using it's own name, or via an alias.+ * -- either using its own name, or via an alias.* This method returns <code>false</code> even if the specified name is needed as an "extra" field* for use by transformers.*/diff --git a/solr/core/src/java/org/apache/solr/update/processor/DistributedUpdateProcessor.java b/solr/core/src/java/org/apache/solr/update/processor/DistributedUpdateProcessor.javaindex 56bcb7ae7b3..004f4f738ca 100644--- a/solr/core/src/java/org/apache/solr/update/processor/DistributedUpdateProcessor.java+++ b/solr/core/src/java/org/apache/solr/update/processor/DistributedUpdateProcessor.java@@ -2064,7 +2064,7 @@ public class DistributedUpdateProcessor extends UpdateRequestProcessor {// persist across sub-requests.//// Note that the replica that receives the original request has the only RollupReplicationTracker that exists for the- // lifetime of the batch. The leader for each shard keeps track of it's own achieved replicaiton for its shard+ // lifetime of the batch. The leader for each shard keeps track of its own achieved replication for its shard// and attaches that to the response to the originating node (i.e. the one with the RollupReplicationTracker).// Followers in general do not need a tracker of any sort with the sole exception of the RollupReplicationTracker// allocated on the original node that receives the top-level request.diff --git a/solr/core/src/test/org/apache/solr/cloud/TestRandomFlRTGCloud.java b/solr/core/src/test/org/apache/solr/cloud/TestRandomFlRTGCloud.javaindex 492765a1390..5a9db8f9360 100644--- a/solr/core/src/test/org/apache/solr/cloud/TestRandomFlRTGCloud.java+++ b/solr/core/src/test/org/apache/solr/cloud/TestRandomFlRTGCloud.java@@ -379,7 +379,7 @@ public class TestRandomFlRTGCloud extends SolrCloudTestCase {params.add("ids", idsToRequest.get(0));} else {if (random().nextBoolean()) {- // each id in it's own param+ // each id in its own paramfor (String id : idsToRequest) {params.add("id",id);}diff --git a/solr/core/src/test/org/apache/solr/handler/component/StatsComponentTest.java b/solr/core/src/test/org/apache/solr/handler/component/StatsComponentTest.javaindex 6d8cfd499c3..d4bf06905f5 100644--- a/solr/core/src/test/org/apache/solr/handler/component/StatsComponentTest.java+++ b/solr/core/src/test/org/apache/solr/handler/component/StatsComponentTest.java@@ -1779,7 +1779,7 @@ public class StatsComponentTest extends SolrTestCaseJ4 {}/**- * Test user input errors (split into it's own test to isolate ignored exceptions+ * Test user input errors (split into its own test to isolate ignored exceptions)* @see #testCardinality* @see #testHllOptions*/diff --git a/solr/core/src/test/org/apache/solr/search/TestRandomCollapseQParserPlugin.java b/solr/core/src/test/org/apache/solr/search/TestRandomCollapseQParserPlugin.javaindex bbb26236c17..9149c194288 100644--- a/solr/core/src/test/org/apache/solr/search/TestRandomCollapseQParserPlugin.java+++ b/solr/core/src/test/org/apache/solr/search/TestRandomCollapseQParserPlugin.java@@ -163,7 +163,7 @@ public class TestRandomCollapseQParserPlugin extends SolrTestCaseJ4 {if (null == collapseVal) {if (NULL_EXPAND.equals(nullPolicy)) {- // nothing to check for this doc, it's in it's own group+ // nothing to check for this doc, it's in its own groupcontinue;}diff --git a/solr/core/src/test/org/apache/solr/search/facet/TestJsonFacetRefinement.java b/solr/core/src/test/org/apache/solr/search/facet/TestJsonFacetRefinement.javaindex 0a931bf28b8..21924b1185f 100644--- a/solr/core/src/test/org/apache/solr/search/facet/TestJsonFacetRefinement.java+++ b/solr/core/src/test/org/apache/solr/search/facet/TestJsonFacetRefinement.java@@ -828,7 +828,7 @@ public class TestJsonFacetRefinement extends SolrTestCaseHS {// - why aren't we just specifying all the buckets (and child buckets) chosen in phase#1 using "_p" ?// - or at the very least, if the purpose of "_l" is to give other buckets a chance to "bubble up"// in phase#2, then shouldn't a "_l" refinement requests still include the buckets choosen in- // phase#1, and request that the shard fill them in in addition to returning it's own top buckets?+ // phase#1, and request that the shard fill them in in addition to returning its own top buckets?client.testJQ(params("q", "*:*", "rows", "0", "json.facet", "{"+ "processEmpty:true,"+ "parent:{ type:terms, field:parent_s, limit:2, overrequest:0, refine:true, facet:{"diff --git a/solr/solr-ref-guide/src/working-with-external-files-and-processes.adoc b/solr/solr-ref-guide/src/working-with-external-files-and-processes.adocindex 9b1771e1087..ae1bc557196 100644--- a/solr/solr-ref-guide/src/working-with-external-files-and-processes.adoc+++ b/solr/solr-ref-guide/src/working-with-external-files-and-processes.adoc@@ -200,7 +200,7 @@ Token positions are tracked and implicitly added to the token stream - the start==== Example Token Streams-// TODO: in cwiki each of these examples was in it's own "panel" ... do we want something like that here?+// TODO: in cwiki each of these examples was in its own "panel" ... do we want something like that here?// TODO: these examples match what was in cwiki, but I'm honestly not sure if the formatting there was correct to start?[source,text]diff --git a/solr/solr-ref-guide/tools/BuildNavAndPDFBody.java b/solr/solr-ref-guide/tools/BuildNavAndPDFBody.javaindex 815c7a494a6..1657f8c9bea 100644--- a/solr/solr-ref-guide/tools/BuildNavAndPDFBody.java+++ b/solr/solr-ref-guide/tools/BuildNavAndPDFBody.java@@ -67,7 +67,7 @@ public class BuildNavAndPDFBody {if (null == mainPage) {throw new RuntimeException("no main-page found with shortname: " + mainPageShortname);}- // NOTE: mainPage claims to be it's own parent to prevent anyone decendent from introducing a loop+ // NOTE: mainPage claims to be its own parent to prevent anyone decendent from introducing a loopmainPage.buildPageTreeRecursive(mainPage, allPages);{ // validate that there are no orphan pagesdiff --git a/solr/solrj/src/java/org/apache/solr/client/solrj/io/stream/TopicStream.java b/solr/solrj/src/java/org/apache/solr/client/solrj/io/stream/TopicStream.javaindex 9af4cbfeaf4..b42ab7792f3 100644--- a/solr/solrj/src/java/org/apache/solr/client/solrj/io/stream/TopicStream.java+++ b/solr/solrj/src/java/org/apache/solr/client/solrj/io/stream/TopicStream.java@@ -283,7 +283,7 @@ public class TopicStream extends CloudSolrStream implements Expressible {this.eofTuples = Collections.synchronizedMap(new HashMap());if(checkpoints.size() == 0 && streamContext.numWorkers > 1) {- //Each worker must maintain it's own checkpoints+ //Each worker must maintain its own checkpointsthis.id = this.id+"_"+streamContext.workerID;}