You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lucene.apache.org by ab...@apache.org on 2019/03/18 21:08:40 UTC

[lucene-solr] branch jira/solr-11127-2 updated: SOLR-11127: Fix precommit.

This is an automated email from the ASF dual-hosted git repository.

ab pushed a commit to branch jira/solr-11127-2
in repository https://gitbox.apache.org/repos/asf/lucene-solr.git


The following commit(s) were added to refs/heads/jira/solr-11127-2 by this push:
     new d5a846a  SOLR-11127: Fix precommit.
d5a846a is described below

commit d5a846a4408823a8bfe0fb48c3b4e48eb442cc7a
Author: Andrzej Bialecki <ab...@apache.org>
AuthorDate: Mon Mar 18 22:08:22 2019 +0100

    SOLR-11127: Fix precommit.
---
 solr/core/src/test/org/apache/solr/cloud/ReindexCollectionTest.java | 2 +-
 solr/solr-ref-guide/src/collections-api.adoc                        | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/solr/core/src/test/org/apache/solr/cloud/ReindexCollectionTest.java b/solr/core/src/test/org/apache/solr/cloud/ReindexCollectionTest.java
index a9f9a22..8413cf2 100644
--- a/solr/core/src/test/org/apache/solr/cloud/ReindexCollectionTest.java
+++ b/solr/core/src/test/org/apache/solr/cloud/ReindexCollectionTest.java
@@ -260,7 +260,7 @@ public class ReindexCollectionTest extends SolrCloudTestCase {
     assertNotNull("foo", coll.getSlice("foo"));
     assertNotNull("bar", coll.getSlice("bar"));
     assertNotNull("baz", coll.getSlice("baz"));
-    assertEquals(new Integer(1), coll.getReplicationFactor());
+    assertEquals(Integer.valueOf(1), coll.getReplicationFactor());
     assertEquals(ImplicitDocRouter.NAME, coll.getRouter().getName());
   }
 
diff --git a/solr/solr-ref-guide/src/collections-api.adoc b/solr/solr-ref-guide/src/collections-api.adoc
index 3a27ec8..07e112f 100644
--- a/solr/solr-ref-guide/src/collections-api.adoc
+++ b/solr/solr-ref-guide/src/collections-api.adoc
@@ -312,7 +312,7 @@ http://localhost:8983/solr/admin/collections?action=REINDEXCOLLECTION&name=newCo
 This request specifies a different schema for the target collection, copies only some of the fields, selects only the documents
 matching a query, and also potentially re-shapes the collection by explicitly specifying 3 shards. Since the target collection
 hasn't been specified in the parameters a collection with a unique name eg. `.rx_newCollection_2` will be created and on success
-an alias pointing from `newCollection -> .rx_newCollection_2` will be created, effectively replacing the source collection
+an alias pointing from `newCollection` to `.rx_newCollection_2` will be created, effectively replacing the source collection
 for the purpose of indexing and searching. The source collection is assumed to be small so a synchronous request was made.
 
 *Output*