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 2020/09/07 00:51:26 UTC

[lucene-solr] branch jira/solr14827 updated (6e024d1 -> 0cfa31d)

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

noble pushed a change to branch jira/solr14827
in repository https://gitbox.apache.org/repos/asf/lucene-solr.git.


    from 6e024d1  bug fix
     new 69ed069  unused import
     new 0cfa31d  unused import

The 2 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.


Summary of changes:
 solr/core/src/java/org/apache/solr/schema/IndexSchema.java         | 7 +++----
 .../src/java/org/apache/solr/util/plugin/AbstractPluginLoader.java | 1 -
 2 files changed, 3 insertions(+), 5 deletions(-)


[lucene-solr] 02/02: unused import

Posted by no...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

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

commit 0cfa31d498a514f44c0aefc08fa8805910fa7cf8
Author: noblepaul <no...@gmail.com>
AuthorDate: Mon Sep 7 10:50:31 2020 +1000

    unused import
---
 solr/core/src/java/org/apache/solr/schema/IndexSchema.java | 7 +++----
 1 file changed, 3 insertions(+), 4 deletions(-)

diff --git a/solr/core/src/java/org/apache/solr/schema/IndexSchema.java b/solr/core/src/java/org/apache/solr/schema/IndexSchema.java
index 53d3a80..0f59c5b 100644
--- a/solr/core/src/java/org/apache/solr/schema/IndexSchema.java
+++ b/solr/core/src/java/org/apache/solr/schema/IndexSchema.java
@@ -37,7 +37,6 @@ import java.util.Set;
 import java.util.SortedMap;
 import java.util.TreeMap;
 import java.util.TreeSet;
-import java.util.concurrent.atomic.AtomicLong;
 import java.util.function.Function;
 import java.util.regex.Pattern;
 import java.util.stream.Collectors;
@@ -169,7 +168,7 @@ public class IndexSchema {
    * directives that target them.
    */
   protected Map<SchemaField, Integer> copyFieldTargetCounts = new HashMap<>();
-  static AtomicLong totalSchemaLoadTime = new AtomicLong();
+//  static AtomicLong totalSchemaLoadTime = new AtomicLong();
 
 
   /**
@@ -182,9 +181,9 @@ public class IndexSchema {
 
     this.resourceName = Objects.requireNonNull(name);
     try {
-      long start = System.currentTimeMillis();
+//      long start = System.currentTimeMillis();
       readSchema(is);
-      System.out.println("schema-load-time : "+ totalSchemaLoadTime.addAndGet (System.currentTimeMillis() - start));
+//      System.out.println("schema-load-time : "+ totalSchemaLoadTime.addAndGet (System.currentTimeMillis() - start));
       loader.inform(loader);
     } catch (IOException e) {
       throw new RuntimeException(e);


[lucene-solr] 01/02: unused import

Posted by no...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

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

commit 69ed0696052ddc0b5627481b0bbd31c298614ab8
Author: noblepaul <no...@gmail.com>
AuthorDate: Mon Sep 7 10:49:03 2020 +1000

    unused import
---
 solr/core/src/java/org/apache/solr/util/plugin/AbstractPluginLoader.java | 1 -
 1 file changed, 1 deletion(-)

diff --git a/solr/core/src/java/org/apache/solr/util/plugin/AbstractPluginLoader.java b/solr/core/src/java/org/apache/solr/util/plugin/AbstractPluginLoader.java
index 0eb0fd0..6032e53 100644
--- a/solr/core/src/java/org/apache/solr/util/plugin/AbstractPluginLoader.java
+++ b/solr/core/src/java/org/apache/solr/util/plugin/AbstractPluginLoader.java
@@ -20,7 +20,6 @@ import java.lang.invoke.MethodHandles;
 import java.util.ArrayList;
 import java.util.List;
 import java.util.Objects;
-import java.util.function.Consumer;
 
 import org.apache.solr.common.ConfigNode;
 import org.apache.solr.common.SolrException;