You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lucene.apache.org by no...@apache.org on 2019/01/09 12:52:54 UTC
[lucene-solr] 02/02: SOLR-13016: precommit errors
This is an automated email from the ASF dual-hosted git repository.
noble pushed a commit to branch branch_7x
in repository https://gitbox.apache.org/repos/asf/lucene-solr.git
commit a9ad1068a829bbd5f5562a16b584c52ca0504abd
Author: Noble Paul <no...@apache.org>
AuthorDate: Wed Jan 9 23:51:09 2019 +1100
SOLR-13016: precommit errors
---
solr/core/src/java/org/apache/solr/update/DocumentBuilder.java | 5 +----
.../src/java/org/apache/solr/client/solrj/cloud/autoscaling/Row.java | 2 +-
2 files changed, 2 insertions(+), 5 deletions(-)
diff --git a/solr/core/src/java/org/apache/solr/update/DocumentBuilder.java b/solr/core/src/java/org/apache/solr/update/DocumentBuilder.java
index 38b10b9..2fd0266 100644
--- a/solr/core/src/java/org/apache/solr/update/DocumentBuilder.java
+++ b/solr/core/src/java/org/apache/solr/update/DocumentBuilder.java
@@ -21,6 +21,7 @@ import java.util.LinkedList;
import java.util.List;
import java.util.Set;
+import com.google.common.collect.Sets;
import org.apache.lucene.document.Document;
import org.apache.lucene.document.NumericDocValuesField;
import org.apache.lucene.index.IndexableField;
@@ -29,14 +30,10 @@ import org.apache.solr.common.SolrDocumentBase;
import org.apache.solr.common.SolrException;
import org.apache.solr.common.SolrInputDocument;
import org.apache.solr.common.SolrInputField;
-import org.apache.solr.common.util.ByteArrayUtf8CharSequence;
import org.apache.solr.schema.CopyField;
import org.apache.solr.schema.IndexSchema;
import org.apache.solr.schema.SchemaField;
-
-import com.google.common.collect.Sets;
-
/**
* Builds a Lucene {@link Document} from a {@link SolrInputDocument}.
*/
diff --git a/solr/solrj/src/java/org/apache/solr/client/solrj/cloud/autoscaling/Row.java b/solr/solrj/src/java/org/apache/solr/client/solrj/cloud/autoscaling/Row.java
index 318a9af..52e6169 100644
--- a/solr/solrj/src/java/org/apache/solr/client/solrj/cloud/autoscaling/Row.java
+++ b/solr/solrj/src/java/org/apache/solr/client/solrj/cloud/autoscaling/Row.java
@@ -52,7 +52,7 @@ public class Row implements MapWriter {
public final String node;
final Cell[] cells;
//this holds the details of each replica in the node
- Map<String, Map<String, List<ReplicaInfo>>> collectionVsShardVsReplicas;
+ public Map<String, Map<String, List<ReplicaInfo>>> collectionVsShardVsReplicas;
boolean anyValueMissing = false;
boolean isLive = true;