You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lucene.apache.org by ct...@apache.org on 2018/10/22 23:35:09 UTC
[24/50] [abbrv] lucene-solr:jira/solr-12746: Fix couple of typos.
Fix couple of typos.
Project: http://git-wip-us.apache.org/repos/asf/lucene-solr/repo
Commit: http://git-wip-us.apache.org/repos/asf/lucene-solr/commit/6af84eaa
Tree: http://git-wip-us.apache.org/repos/asf/lucene-solr/tree/6af84eaa
Diff: http://git-wip-us.apache.org/repos/asf/lucene-solr/diff/6af84eaa
Branch: refs/heads/jira/solr-12746
Commit: 6af84eaa170f015fefaf2916a96723f077e89471
Parents: 16788b8
Author: Christine Poerschke <cp...@apache.org>
Authored: Mon Oct 15 15:08:17 2018 -0400
Committer: Cassandra Targett <ct...@apache.org>
Committed: Sun Oct 21 15:46:47 2018 -0500
----------------------------------------------------------------------
.../src/java/org/apache/lucene/util/LuceneTestCase.java | 2 +-
.../src/java/org/apache/solr/logging/log4j2/Log4j2Watcher.java | 2 +-
solr/core/src/java/org/apache/solr/search/ReturnFields.java | 2 +-
.../apache/solr/update/processor/DistributedUpdateProcessor.java | 2 +-
solr/core/src/test/org/apache/solr/cloud/TestRandomFlRTGCloud.java | 2 +-
.../test/org/apache/solr/handler/component/StatsComponentTest.java | 2 +-
.../org/apache/solr/search/TestRandomCollapseQParserPlugin.java | 2 +-
.../test/org/apache/solr/search/facet/TestJsonFacetRefinement.java | 2 +-
.../src/working-with-external-files-and-processes.adoc | 2 +-
solr/solr-ref-guide/tools/BuildNavAndPDFBody.java | 2 +-
.../java/org/apache/solr/client/solrj/io/stream/TopicStream.java | 2 +-
11 files changed, 11 insertions(+), 11 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/lucene-solr/blob/6af84eaa/lucene/test-framework/src/java/org/apache/lucene/util/LuceneTestCase.java
----------------------------------------------------------------------
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.java
index 95150fb..5d19587 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,
http://git-wip-us.apache.org/repos/asf/lucene-solr/blob/6af84eaa/solr/core/src/java/org/apache/solr/logging/log4j2/Log4j2Watcher.java
----------------------------------------------------------------------
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.java
index 35aeceb..de79991 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 one
LoggerConfig explicitConfig = new LoggerConfig(loggerName, Level.valueOf(level), true);
explicitConfig.setParent(loggerConfig);
config.addLogger(loggerName, explicitConfig);
http://git-wip-us.apache.org/repos/asf/lucene-solr/blob/6af84eaa/solr/core/src/java/org/apache/solr/search/ReturnFields.java
----------------------------------------------------------------------
diff --git a/solr/core/src/java/org/apache/solr/search/ReturnFields.java b/solr/core/src/java/org/apache/solr/search/ReturnFields.java
index dcd47a6..c2d5973 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.
*/
http://git-wip-us.apache.org/repos/asf/lucene-solr/blob/6af84eaa/solr/core/src/java/org/apache/solr/update/processor/DistributedUpdateProcessor.java
----------------------------------------------------------------------
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.java
index 56bcb7a..004f4f7 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.
http://git-wip-us.apache.org/repos/asf/lucene-solr/blob/6af84eaa/solr/core/src/test/org/apache/solr/cloud/TestRandomFlRTGCloud.java
----------------------------------------------------------------------
diff --git a/solr/core/src/test/org/apache/solr/cloud/TestRandomFlRTGCloud.java b/solr/core/src/test/org/apache/solr/cloud/TestRandomFlRTGCloud.java
index 492765a..5a9db8f 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 param
for (String id : idsToRequest) {
params.add("id",id);
}
http://git-wip-us.apache.org/repos/asf/lucene-solr/blob/6af84eaa/solr/core/src/test/org/apache/solr/handler/component/StatsComponentTest.java
----------------------------------------------------------------------
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.java
index 6d8cfd4..d4bf069 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
*/
http://git-wip-us.apache.org/repos/asf/lucene-solr/blob/6af84eaa/solr/core/src/test/org/apache/solr/search/TestRandomCollapseQParserPlugin.java
----------------------------------------------------------------------
diff --git a/solr/core/src/test/org/apache/solr/search/TestRandomCollapseQParserPlugin.java b/solr/core/src/test/org/apache/solr/search/TestRandomCollapseQParserPlugin.java
index bbb2623..9149c19 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 group
continue;
}
http://git-wip-us.apache.org/repos/asf/lucene-solr/blob/6af84eaa/solr/core/src/test/org/apache/solr/search/facet/TestJsonFacetRefinement.java
----------------------------------------------------------------------
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.java
index 0a931bf..21924b1 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:{"
http://git-wip-us.apache.org/repos/asf/lucene-solr/blob/6af84eaa/solr/solr-ref-guide/src/working-with-external-files-and-processes.adoc
----------------------------------------------------------------------
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.adoc
index 9b1771e..ae1bc55 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]
http://git-wip-us.apache.org/repos/asf/lucene-solr/blob/6af84eaa/solr/solr-ref-guide/tools/BuildNavAndPDFBody.java
----------------------------------------------------------------------
diff --git a/solr/solr-ref-guide/tools/BuildNavAndPDFBody.java b/solr/solr-ref-guide/tools/BuildNavAndPDFBody.java
index 815c7a4..1657f8c 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 loop
mainPage.buildPageTreeRecursive(mainPage, allPages);
{ // validate that there are no orphan pages
http://git-wip-us.apache.org/repos/asf/lucene-solr/blob/6af84eaa/solr/solrj/src/java/org/apache/solr/client/solrj/io/stream/TopicStream.java
----------------------------------------------------------------------
diff --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.java
index 9af4cbf..b42ab77 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 checkpoints
this.id = this.id+"_"+streamContext.workerID;
}