Apache Lucene open-source search software
SOLR-7847: rollback accidental commit of VersionInfo
Timothy Potter6bb7fdd9496f
diff --git a/solr/core/src/java/org/apache/solr/update/VersionInfo.java b/solr/core/src/java/org/apache/solr/update/VersionInfo.javaindex cfd59adbd2f..ff2345a632e 100644--- a/solr/core/src/java/org/apache/solr/update/VersionInfo.java+++ b/solr/core/src/java/org/apache/solr/update/VersionInfo.java@@ -232,9 +232,6 @@ public class VersionInfo {if (versionField.indexed()) {Terms versionTerms = searcher.getLeafReader().terms(versionFieldName);if (versionTerms != null) {-- log.info("\n\n versionTerms is a "+versionTerms.getClass().getName()+", versionTerms.size() = "+versionTerms.size()+" \n\n");-maxVersionInIndex = NumericUtils.getMaxLong(versionTerms);log.info("Found MAX value {} from Terms for {} in index", maxVersionInIndex, versionFieldName);} else {diff --git a/solr/core/src/test/org/apache/solr/util/TestSolrCLIRunExample.java b/solr/core/src/test/org/apache/solr/util/TestSolrCLIRunExample.javaindex 739ddc1cc4a..271c24d5202 100644--- a/solr/core/src/test/org/apache/solr/util/TestSolrCLIRunExample.java+++ b/solr/core/src/test/org/apache/solr/util/TestSolrCLIRunExample.java@@ -44,7 +44,6 @@ import org.apache.solr.client.solrj.response.QueryResponse;import org.apache.solr.cloud.MiniSolrCloudCluster;import org.apache.solr.common.SolrInputDocument;import org.junit.After;-import org.junit.Ignore;import org.junit.Test;import org.slf4j.Logger;import org.slf4j.LoggerFactory;@@ -301,10 +300,6 @@ public class TestSolrCLIRunExample extends SolrTestCaseJ4 {}}- /**- * Fails intermittently on jenkins! Need to investigate this more.- */- @Ignore@Testpublic void testTechproductsExample() throws Exception {testExample("techproducts");