mirror of https://github.com/apache/lucene.git
LUCENE-5858: remove remaining unnecessary SuppressCodecs
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene5858@1621816 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
67afcced6f
commit
704b3fb091
|
@ -41,7 +41,6 @@ import org.apache.lucene.store.Directory;
|
|||
import org.apache.lucene.util.BytesRef;
|
||||
import org.apache.lucene.util.LuceneTestCase;
|
||||
import org.apache.lucene.util.TestUtil;
|
||||
import org.apache.lucene.util.LuceneTestCase.SuppressCodecs;
|
||||
|
||||
/**
|
||||
* trivial test of CollationDocValuesField
|
||||
|
|
|
@ -38,7 +38,6 @@ import org.apache.lucene.store.Directory;
|
|||
import org.apache.lucene.util.BytesRef;
|
||||
import org.apache.lucene.util.LuceneTestCase;
|
||||
import org.apache.lucene.util.TestUtil;
|
||||
import org.apache.lucene.util.LuceneTestCase.SuppressCodecs;
|
||||
|
||||
import com.ibm.icu.text.Collator;
|
||||
import com.ibm.icu.util.ULocale;
|
||||
|
|
|
@ -73,11 +73,6 @@ import org.junit.BeforeClass;
|
|||
Verify we can read the pre-5.0 file format, do searches
|
||||
against it, and add documents to it.
|
||||
*/
|
||||
// note: add this if we make a 4.x impersonator
|
||||
// TODO: don't use 4.x codec, its unrealistic since it means
|
||||
// we won't even be running the actual code, only the impostor
|
||||
// @SuppressCodecs("Lucene4x")
|
||||
@SuppressCodecs({"Lucene40", "Lucene41", "Lucene42", "Lucene45", "Lucene46", "Lucene49"})
|
||||
public class TestBackwardsCompatibility extends LuceneTestCase {
|
||||
|
||||
// Uncomment these cases & run them on an older Lucene version,
|
||||
|
|
|
@ -33,7 +33,6 @@ import org.apache.lucene.index.Term;
|
|||
import org.apache.lucene.store.Directory;
|
||||
import org.apache.lucene.util.BytesRef;
|
||||
import org.apache.lucene.util.LuceneTestCase;
|
||||
import org.apache.lucene.util.LuceneTestCase.SuppressCodecs;
|
||||
import org.apache.lucene.util.TestUtil;
|
||||
import org.apache.lucene.util.UnicodeUtil;
|
||||
|
||||
|
|
|
@ -34,7 +34,6 @@ import org.apache.lucene.store.Directory;
|
|||
import org.apache.lucene.util.BytesRef;
|
||||
import org.apache.lucene.util.LuceneTestCase;
|
||||
import org.apache.lucene.util.TestUtil;
|
||||
import org.apache.lucene.util.LuceneTestCase.SuppressCodecs;
|
||||
import org.apache.lucene.util.automaton.AutomatonTestUtil;
|
||||
import org.apache.lucene.util.automaton.RegExp;
|
||||
import org.apache.lucene.util.UnicodeUtil;
|
||||
|
|
|
@ -29,7 +29,6 @@ import org.apache.lucene.index.Term;
|
|||
import org.apache.lucene.store.Directory;
|
||||
import org.apache.lucene.util.BytesRef;
|
||||
import org.apache.lucene.util.LuceneTestCase;
|
||||
import org.apache.lucene.util.LuceneTestCase.SuppressCodecs;
|
||||
|
||||
/**
|
||||
*
|
||||
|
|
|
@ -43,7 +43,6 @@ import org.apache.lucene.store.Directory;
|
|||
import org.apache.lucene.util.BytesRef;
|
||||
import org.apache.lucene.util.LuceneTestCase;
|
||||
import org.apache.lucene.util.TestUtil;
|
||||
import org.apache.lucene.util.LuceneTestCase.SuppressCodecs;
|
||||
import org.junit.AfterClass;
|
||||
import org.junit.BeforeClass;
|
||||
|
||||
|
|
|
@ -31,7 +31,6 @@ import org.apache.lucene.index.RandomIndexWriter;
|
|||
import org.apache.lucene.store.Directory;
|
||||
import org.apache.lucene.util.BytesRef;
|
||||
import org.apache.lucene.util.LuceneTestCase;
|
||||
import org.apache.lucene.util.LuceneTestCase.SuppressCodecs;
|
||||
|
||||
/*
|
||||
* Very simple tests of sorting.
|
||||
|
|
|
@ -26,7 +26,6 @@ import org.apache.lucene.index.RandomIndexWriter;
|
|||
import org.apache.lucene.index.Term;
|
||||
import org.apache.lucene.store.Directory;
|
||||
import org.apache.lucene.util.LuceneTestCase;
|
||||
import org.apache.lucene.util.LuceneTestCase.SuppressCodecs;
|
||||
import org.apache.lucene.util.NumericUtils;
|
||||
|
||||
/** Simple tests for SortedNumericSortField */
|
||||
|
|
|
@ -27,7 +27,6 @@ import org.apache.lucene.index.Term;
|
|||
import org.apache.lucene.store.Directory;
|
||||
import org.apache.lucene.util.BytesRef;
|
||||
import org.apache.lucene.util.LuceneTestCase;
|
||||
import org.apache.lucene.util.LuceneTestCase.SuppressCodecs;
|
||||
|
||||
/** Simple tests for SortedSetSortField, indexing the sortedset up front */
|
||||
public class TestSortedSetSortField extends LuceneTestCase {
|
||||
|
|
|
@ -20,7 +20,6 @@ package org.apache.lucene.demo.facet;
|
|||
|
||||
import org.apache.lucene.facet.FacetResult;
|
||||
import org.apache.lucene.search.TopDocs;
|
||||
import org.apache.lucene.util.LuceneTestCase.SuppressCodecs;
|
||||
import org.apache.lucene.util.LuceneTestCase;
|
||||
|
||||
public class TestDistanceFacetsExample extends LuceneTestCase {
|
||||
|
|
|
@ -21,7 +21,6 @@ import java.util.List;
|
|||
|
||||
import org.apache.lucene.facet.FacetResult;
|
||||
import org.apache.lucene.search.TopDocs;
|
||||
import org.apache.lucene.util.LuceneTestCase.SuppressCodecs;
|
||||
import org.apache.lucene.util.LuceneTestCase;
|
||||
import org.junit.Test;
|
||||
|
||||
|
|
|
@ -21,7 +21,6 @@ import java.util.List;
|
|||
|
||||
import org.apache.lucene.facet.FacetResult;
|
||||
import org.apache.lucene.facet.taxonomy.FacetLabel;
|
||||
import org.apache.lucene.util.LuceneTestCase.SuppressCodecs;
|
||||
import org.apache.lucene.util.LuceneTestCase;
|
||||
import org.junit.Test;
|
||||
|
||||
|
|
|
@ -35,7 +35,6 @@ import org.apache.lucene.search.DocIdSetIterator;
|
|||
import org.apache.lucene.search.SortField;
|
||||
import org.apache.lucene.store.Directory;
|
||||
import org.apache.lucene.util.LuceneTestCase;
|
||||
import org.apache.lucene.util.LuceneTestCase.SuppressCodecs;
|
||||
|
||||
public class TestExpressionValueSource extends LuceneTestCase {
|
||||
DirectoryReader reader;
|
||||
|
|
|
@ -52,7 +52,6 @@ import org.apache.lucene.search.grouping.term.TermDistinctValuesCollector;
|
|||
import org.apache.lucene.search.grouping.term.TermFirstPassGroupingCollector;
|
||||
import org.apache.lucene.store.Directory;
|
||||
import org.apache.lucene.util.BytesRef;
|
||||
import org.apache.lucene.util.LuceneTestCase.SuppressCodecs;
|
||||
import org.apache.lucene.util.TestUtil;
|
||||
import org.apache.lucene.util.mutable.MutableValue;
|
||||
import org.apache.lucene.util.mutable.MutableValueStr;
|
||||
|
|
|
@ -48,7 +48,6 @@ import org.apache.lucene.search.TermQuery;
|
|||
import org.apache.lucene.search.grouping.term.TermGroupFacetCollector;
|
||||
import org.apache.lucene.store.Directory;
|
||||
import org.apache.lucene.util.BytesRef;
|
||||
import org.apache.lucene.util.LuceneTestCase.SuppressCodecs;
|
||||
import org.apache.lucene.util.TestUtil;
|
||||
|
||||
|
||||
|
|
|
@ -33,7 +33,6 @@ import org.apache.lucene.search.grouping.GroupDocs;
|
|||
import org.apache.lucene.search.grouping.TopGroups;
|
||||
import org.apache.lucene.store.Directory;
|
||||
import org.apache.lucene.util.*;
|
||||
import org.apache.lucene.util.LuceneTestCase.SuppressCodecs;
|
||||
|
||||
public class TestBlockJoin extends LuceneTestCase {
|
||||
|
||||
|
|
|
@ -68,7 +68,6 @@ import org.apache.lucene.util.Bits;
|
|||
import org.apache.lucene.util.BytesRef;
|
||||
import org.apache.lucene.util.FixedBitSet;
|
||||
import org.apache.lucene.util.LuceneTestCase;
|
||||
import org.apache.lucene.util.LuceneTestCase.SuppressCodecs;
|
||||
import org.apache.lucene.util.TestUtil;
|
||||
import org.junit.Test;
|
||||
|
||||
|
|
|
@ -29,7 +29,6 @@ import org.apache.lucene.queries.function.valuesource.SortedSetFieldSource;
|
|||
import org.apache.lucene.store.Directory;
|
||||
import org.apache.lucene.util.BytesRef;
|
||||
import org.apache.lucene.util.LuceneTestCase;
|
||||
import org.apache.lucene.util.LuceneTestCase.SuppressCodecs;
|
||||
|
||||
public class TestSortedSetFieldSource extends LuceneTestCase {
|
||||
public void testSimple() throws Exception {
|
||||
|
|
|
@ -41,7 +41,6 @@ import org.apache.lucene.search.IndexSearcher;
|
|||
import org.apache.lucene.search.Query;
|
||||
import org.apache.lucene.store.Directory;
|
||||
import org.apache.lucene.util.LuceneTestCase;
|
||||
import org.apache.lucene.util.LuceneTestCase.SuppressCodecs;
|
||||
|
||||
/**
|
||||
*/
|
||||
|
|
|
@ -22,7 +22,6 @@ import java.util.Random;
|
|||
import org.apache.http.conn.HttpClientConnectionManager;
|
||||
import org.apache.http.impl.conn.PoolingHttpClientConnectionManager;
|
||||
import org.apache.lucene.util.LuceneTestCase;
|
||||
import org.apache.lucene.util.LuceneTestCase.SuppressCodecs;
|
||||
import org.eclipse.jetty.server.Connector;
|
||||
import org.eclipse.jetty.server.Handler;
|
||||
import org.eclipse.jetty.server.Server;
|
||||
|
|
|
@ -22,9 +22,6 @@ import java.io.FileOutputStream;
|
|||
|
||||
import org.apache.commons.io.FileUtils;
|
||||
import org.apache.commons.io.IOUtils;
|
||||
import org.apache.lucene.util.LuceneTestCase;
|
||||
import org.apache.lucene.util.TestUtil;
|
||||
import org.apache.lucene.util.LuceneTestCase.SuppressCodecs;
|
||||
import org.apache.solr.SolrTestCaseJ4;
|
||||
import org.junit.BeforeClass;
|
||||
|
||||
|
@ -35,7 +32,6 @@ import com.ibm.icu.util.ULocale;
|
|||
/**
|
||||
* Tests {@link ICUCollationField} with docValues.
|
||||
*/
|
||||
@SuppressCodecs({"Lucene40", "Lucene41"})
|
||||
public class TestICUCollationFieldDocValues extends SolrTestCaseJ4 {
|
||||
|
||||
@BeforeClass
|
||||
|
|
|
@ -46,7 +46,6 @@ import org.apache.hadoop.yarn.conf.YarnConfiguration;
|
|||
import org.apache.lucene.util.Constants;
|
||||
import org.apache.lucene.util.LuceneTestCase;
|
||||
import org.apache.lucene.util.LuceneTestCase.Slow;
|
||||
import org.apache.lucene.util.LuceneTestCase.SuppressCodecs;
|
||||
import org.apache.solr.SolrTestCaseJ4.SuppressSSL;
|
||||
import org.apache.solr.client.solrj.SolrQuery;
|
||||
import org.apache.solr.client.solrj.SolrQuery.ORDER;
|
||||
|
@ -90,7 +89,6 @@ import com.carrotsearch.randomizedtesting.annotations.ThreadLeakZombies.Conseque
|
|||
@ThreadLeakLingering(linger = 0)
|
||||
@ThreadLeakZombies(Consequence.CONTINUE)
|
||||
@ThreadLeakScope(Scope.NONE)
|
||||
@SuppressCodecs({"Lucene3x", "Lucene40"})
|
||||
@SuppressSSL // SSL does not work with this test for currently unknown reasons
|
||||
@Slow
|
||||
public class MorphlineGoLiveMiniMRTest extends AbstractFullDistribZkTestBase {
|
||||
|
|
|
@ -22,7 +22,6 @@ import java.util.Iterator;
|
|||
|
||||
import org.apache.lucene.util.Constants;
|
||||
import org.apache.lucene.util.LuceneTestCase.Slow;
|
||||
import org.apache.lucene.util.LuceneTestCase.SuppressCodecs;
|
||||
import org.apache.solr.client.solrj.SolrQuery;
|
||||
import org.apache.solr.client.solrj.SolrServerException;
|
||||
import org.apache.solr.client.solrj.request.QueryRequest;
|
||||
|
@ -48,7 +47,6 @@ import com.carrotsearch.randomizedtesting.annotations.ThreadLeakZombies.Conseque
|
|||
@ThreadLeakLingering(linger = 0)
|
||||
@ThreadLeakZombies(Consequence.CONTINUE)
|
||||
@ThreadLeakScope(Scope.NONE)
|
||||
@SuppressCodecs({"Lucene3x", "Lucene40"})
|
||||
@Slow
|
||||
public class SolrMorphlineZkAliasTest extends AbstractSolrMorphlineZkTestBase {
|
||||
|
||||
|
|
|
@ -30,7 +30,6 @@ import org.apache.avro.generic.GenericData;
|
|||
import org.apache.avro.generic.GenericDatumReader;
|
||||
import org.apache.lucene.util.Constants;
|
||||
import org.apache.lucene.util.LuceneTestCase.Slow;
|
||||
import org.apache.lucene.util.LuceneTestCase.SuppressCodecs;
|
||||
import org.apache.solr.client.solrj.SolrQuery;
|
||||
import org.apache.solr.client.solrj.response.QueryResponse;
|
||||
import org.apache.solr.common.SolrDocument;
|
||||
|
@ -54,7 +53,6 @@ import com.google.common.io.Files;
|
|||
@ThreadLeakLingering(linger = 0)
|
||||
@ThreadLeakZombies(Consequence.CONTINUE)
|
||||
@ThreadLeakScope(Scope.NONE)
|
||||
@SuppressCodecs({"Lucene3x", "Lucene40"})
|
||||
@Slow
|
||||
public class SolrMorphlineZkAvroTest extends AbstractSolrMorphlineZkTestBase {
|
||||
|
||||
|
|
|
@ -21,7 +21,6 @@ import java.util.Iterator;
|
|||
|
||||
import org.apache.lucene.util.Constants;
|
||||
import org.apache.lucene.util.LuceneTestCase.Slow;
|
||||
import org.apache.lucene.util.LuceneTestCase.SuppressCodecs;
|
||||
import org.apache.solr.client.solrj.SolrQuery;
|
||||
import org.apache.solr.client.solrj.response.QueryResponse;
|
||||
import org.apache.solr.common.SolrDocument;
|
||||
|
@ -42,7 +41,6 @@ import com.carrotsearch.randomizedtesting.annotations.ThreadLeakZombies.Conseque
|
|||
@ThreadLeakLingering(linger = 0)
|
||||
@ThreadLeakZombies(Consequence.CONTINUE)
|
||||
@ThreadLeakScope(Scope.NONE)
|
||||
@SuppressCodecs({"Lucene3x", "Lucene40"})
|
||||
@Slow
|
||||
public class SolrMorphlineZkTest extends AbstractSolrMorphlineZkTestBase {
|
||||
|
||||
|
|
|
@ -4,7 +4,6 @@ import java.util.Arrays;
|
|||
import java.util.Comparator;
|
||||
import java.util.List;
|
||||
|
||||
import org.apache.lucene.util.LuceneTestCase;
|
||||
import org.apache.lucene.util.LuceneTestCase.Slow;
|
||||
import org.apache.solr.client.solrj.SolrQuery;
|
||||
import org.apache.solr.client.solrj.response.IntervalFacet.Count;
|
||||
|
@ -29,7 +28,6 @@ import org.junit.BeforeClass;
|
|||
* limitations under the License.
|
||||
*/
|
||||
@Slow
|
||||
@LuceneTestCase.SuppressCodecs({"Lucene40", "Lucene41", "Lucene42", "Lucene43"})
|
||||
public class DistributedIntervalFacetingTest extends
|
||||
BaseDistributedSearchTestCase {
|
||||
|
||||
|
|
|
@ -25,7 +25,6 @@ import java.util.Random;
|
|||
|
||||
import org.apache.lucene.util.TestUtil;
|
||||
import org.apache.lucene.util.LuceneTestCase.Slow;
|
||||
import org.apache.lucene.util.LuceneTestCase.SuppressCodecs;
|
||||
import org.apache.solr.common.params.ModifiableSolrParams;
|
||||
import org.apache.solr.request.SolrQueryRequest;
|
||||
import org.apache.solr.schema.SchemaField;
|
||||
|
@ -38,7 +37,6 @@ import org.junit.Test;
|
|||
* to the indexed facet results as if it were just another faceting method.
|
||||
*/
|
||||
@Slow
|
||||
@SuppressCodecs({"Lucene40", "Lucene41", "Lucene42"})
|
||||
public class TestRandomDVFaceting extends SolrTestCaseJ4 {
|
||||
|
||||
@BeforeClass
|
||||
|
|
|
@ -36,7 +36,6 @@ import javax.xml.xpath.XPathExpressionException;
|
|||
import javax.xml.xpath.XPathFactory;
|
||||
|
||||
import org.apache.commons.lang.StringUtils;
|
||||
import org.apache.lucene.util.LuceneTestCase.SuppressCodecs;
|
||||
import org.apache.lucene.util.IOUtils;
|
||||
import org.apache.solr.SolrTestCaseJ4;
|
||||
import org.apache.solr.analytics.util.MedianCalculator;
|
||||
|
@ -48,7 +47,6 @@ import org.xml.sax.SAXException;
|
|||
|
||||
import com.google.common.collect.ObjectArrays;
|
||||
|
||||
@SuppressCodecs({"Lucene3x","Lucene40","Lucene41","Lucene42","Appending","Asserting"})
|
||||
public class AbstractAnalyticsStatsTest extends SolrTestCaseJ4 {
|
||||
|
||||
protected static final String[] BASEPARMS = new String[]{ "q", "*:*", "indent", "true", "olap", "true", "rows", "0" };
|
||||
|
|
|
@ -21,11 +21,9 @@ package org.apache.solr.analytics;
|
|||
import java.util.ArrayList;
|
||||
import java.util.List;
|
||||
|
||||
import org.apache.lucene.util.LuceneTestCase.SuppressCodecs;
|
||||
import org.junit.BeforeClass;
|
||||
import org.junit.Test;
|
||||
|
||||
@SuppressCodecs({"Lucene3x","Lucene40","Lucene41","Lucene42","Appending","Asserting"})
|
||||
public class NoFacetTest extends AbstractAnalyticsStatsTest {
|
||||
static String fileName = "/analytics/requestFiles/noFacets.txt";
|
||||
|
||||
|
|
|
@ -20,7 +20,6 @@ package org.apache.solr.analytics.expression;
|
|||
import com.google.common.collect.ObjectArrays;
|
||||
|
||||
import org.apache.lucene.util.IOUtils;
|
||||
import org.apache.lucene.util.LuceneTestCase.SuppressCodecs;
|
||||
import org.apache.solr.SolrTestCaseJ4;
|
||||
import org.apache.solr.analytics.AbstractAnalyticsStatsTest;
|
||||
import org.apache.solr.request.SolrQueryRequest;
|
||||
|
@ -34,7 +33,6 @@ import java.io.InputStream;
|
|||
import java.util.ArrayList;
|
||||
import java.util.Scanner;
|
||||
|
||||
@SuppressCodecs({"Lucene3x", "Lucene40", "Lucene41", "Lucene42", "Appending", "Asserting"})
|
||||
public class ExpressionTest extends AbstractAnalyticsStatsTest {
|
||||
private static final String fileName = "/analytics/requestFiles/expressions.txt";
|
||||
|
||||
|
|
|
@ -31,7 +31,6 @@ import java.util.List;
|
|||
import java.util.Scanner;
|
||||
|
||||
import org.apache.lucene.util.IOUtils;
|
||||
import org.apache.lucene.util.LuceneTestCase.SuppressCodecs;
|
||||
import org.apache.solr.SolrTestCaseJ4;
|
||||
import org.apache.solr.analytics.util.MedianCalculator;
|
||||
import org.apache.solr.analytics.util.PercentileCalculator;
|
||||
|
@ -52,7 +51,6 @@ import javax.xml.xpath.XPathConstants;
|
|||
import javax.xml.xpath.XPathExpressionException;
|
||||
import javax.xml.xpath.XPathFactory;
|
||||
|
||||
@SuppressCodecs({"Lucene3x","Lucene40","Lucene41","Lucene42","Appending","Asserting"})
|
||||
public class AbstractAnalyticsFacetTest extends SolrTestCaseJ4 {
|
||||
protected static final HashMap<String,Object> defaults = new HashMap<>();
|
||||
|
||||
|
|
|
@ -23,12 +23,10 @@ import java.util.Collection;
|
|||
import java.util.Collections;
|
||||
import java.util.List;
|
||||
|
||||
import org.apache.lucene.util.LuceneTestCase.SuppressCodecs;
|
||||
import org.junit.Assert;
|
||||
import org.junit.BeforeClass;
|
||||
import org.junit.Test;
|
||||
|
||||
@SuppressCodecs({"Lucene3x","Lucene40","Lucene41","Lucene42","Appending","Asserting"})
|
||||
public class FieldFacetExtrasTest extends AbstractAnalyticsFacetTest {
|
||||
static String fileName = "/analytics/requestFiles/fieldFacetExtras.txt";
|
||||
|
||||
|
|
|
@ -23,13 +23,11 @@ import java.util.Collection;
|
|||
import java.util.Collections;
|
||||
import java.util.List;
|
||||
|
||||
import org.apache.lucene.util.LuceneTestCase.SuppressCodecs;
|
||||
import org.junit.Assert;
|
||||
import org.junit.BeforeClass;
|
||||
import org.junit.Test;
|
||||
|
||||
|
||||
@SuppressCodecs({"Lucene3x","Lucene40","Lucene41","Lucene42","Appending","Asserting"})
|
||||
public class FieldFacetTest extends AbstractAnalyticsFacetTest{
|
||||
static String fileName = "/analytics/requestFiles/fieldFacets.txt";
|
||||
|
||||
|
|
|
@ -20,11 +20,9 @@ package org.apache.solr.analytics.facet;
|
|||
|
||||
import java.util.ArrayList;
|
||||
|
||||
import org.apache.lucene.util.LuceneTestCase.SuppressCodecs;
|
||||
import org.junit.BeforeClass;
|
||||
import org.junit.Test;
|
||||
|
||||
@SuppressCodecs({"Lucene3x","Lucene40","Lucene41","Lucene42","Appending","Asserting"})
|
||||
public class QueryFacetTest extends AbstractAnalyticsFacetTest {
|
||||
static String fileName = "/analytics/requestFiles/queryFacets.txt";
|
||||
|
||||
|
|
|
@ -20,12 +20,10 @@ package org.apache.solr.analytics.facet;
|
|||
|
||||
import java.util.ArrayList;
|
||||
|
||||
import org.apache.lucene.util.LuceneTestCase.SuppressCodecs;
|
||||
import org.junit.BeforeClass;
|
||||
import org.junit.Test;
|
||||
|
||||
|
||||
@SuppressCodecs({"Lucene3x","Lucene40","Lucene41","Lucene42","Appending","Asserting"})
|
||||
public class RangeFacetTest extends AbstractAnalyticsFacetTest {
|
||||
static String fileName = "/analytics/requestFiles/rangeFacets.txt";
|
||||
|
||||
|
|
|
@ -18,13 +18,11 @@
|
|||
package org.apache.solr.analytics.util.valuesource;
|
||||
|
||||
|
||||
import org.apache.lucene.util.LuceneTestCase.SuppressCodecs;
|
||||
import org.apache.solr.analytics.AbstractAnalyticsStatsTest;
|
||||
import org.apache.solr.analytics.facet.AbstractAnalyticsFacetTest;
|
||||
import org.junit.BeforeClass;
|
||||
import org.junit.Test;
|
||||
|
||||
@SuppressCodecs({"Lucene3x","Lucene40","Lucene41","Lucene42","Appending","Asserting"})
|
||||
public class FunctionTest extends AbstractAnalyticsStatsTest {
|
||||
static String fileName = "/analytics/requestFiles/functions.txt";
|
||||
|
||||
|
|
|
@ -17,7 +17,6 @@ package org.apache.solr.highlight;
|
|||
* limitations under the License.
|
||||
*/
|
||||
|
||||
import org.apache.lucene.util.LuceneTestCase.SuppressCodecs;
|
||||
import org.apache.solr.SolrTestCaseJ4;
|
||||
import org.apache.solr.handler.component.HighlightComponent;
|
||||
import org.apache.solr.schema.IndexSchema;
|
||||
|
|
|
@ -21,7 +21,6 @@ import java.util.Arrays;
|
|||
import java.util.Comparator;
|
||||
|
||||
import org.apache.lucene.util.BytesRef;
|
||||
import org.apache.lucene.util.LuceneTestCase;
|
||||
import org.apache.solr.SolrTestCaseJ4;
|
||||
import org.apache.solr.common.SolrException;
|
||||
import org.apache.solr.common.params.ModifiableSolrParams;
|
||||
|
@ -36,7 +35,6 @@ import org.apache.solr.util.RefCounted;
|
|||
import org.junit.BeforeClass;
|
||||
import org.junit.Test;
|
||||
|
||||
@LuceneTestCase.SuppressCodecs({"Lucene40", "Lucene41", "Lucene42", "Lucene43"})
|
||||
public class TestIntervalFaceting extends SolrTestCaseJ4 {
|
||||
|
||||
@BeforeClass
|
||||
|
|
|
@ -19,9 +19,7 @@ package org.apache.solr.response;
|
|||
|
||||
import org.apache.solr.SolrTestCaseJ4;
|
||||
import org.junit.*;
|
||||
import org.apache.lucene.util.LuceneTestCase.SuppressCodecs;
|
||||
|
||||
@SuppressCodecs({"Lucene3x", "Lucene40","Lucene41","Lucene42","Lucene45"})
|
||||
public class TestSortingResponseWriter extends SolrTestCaseJ4 {
|
||||
@BeforeClass
|
||||
public static void beforeClass() throws Exception {
|
||||
|
|
|
@ -17,14 +17,12 @@ package org.apache.solr.schema;
|
|||
* limitations under the License.
|
||||
*/
|
||||
|
||||
import org.apache.lucene.util.LuceneTestCase.SuppressCodecs;
|
||||
import org.apache.solr.SolrTestCaseJ4;
|
||||
import org.junit.BeforeClass;
|
||||
|
||||
/**
|
||||
* Tests things like sorting on docvalues with missing values
|
||||
*/
|
||||
@SuppressCodecs({"Lucene40", "Lucene41", "Lucene42"}) // old formats cannot represent missing values
|
||||
public class DocValuesMissingTest extends SolrTestCaseJ4 {
|
||||
|
||||
@BeforeClass
|
||||
|
|
|
@ -21,7 +21,6 @@ import org.apache.lucene.index.AtomicReader;
|
|||
import org.apache.lucene.index.FieldInfo.DocValuesType;
|
||||
import org.apache.lucene.index.FieldInfos;
|
||||
import org.apache.lucene.index.SortedSetDocValues;
|
||||
import org.apache.lucene.util.LuceneTestCase.SuppressCodecs;
|
||||
import org.apache.solr.SolrTestCaseJ4;
|
||||
import org.apache.solr.core.SolrCore;
|
||||
import org.apache.solr.search.SolrIndexSearcher;
|
||||
|
@ -30,7 +29,6 @@ import org.junit.BeforeClass;
|
|||
|
||||
import java.io.IOException;
|
||||
|
||||
@SuppressCodecs({"Lucene40", "Lucene41"})
|
||||
public class DocValuesMultiTest extends SolrTestCaseJ4 {
|
||||
|
||||
@BeforeClass
|
||||
|
|
|
@ -23,9 +23,6 @@ import java.text.Collator;
|
|||
import java.text.RuleBasedCollator;
|
||||
import java.util.Locale;
|
||||
|
||||
import org.apache.lucene.util.TestUtil;
|
||||
import org.apache.lucene.util.LuceneTestCase.SuppressCodecs;
|
||||
|
||||
import org.apache.commons.io.FileUtils;
|
||||
import org.apache.commons.io.IOUtils;
|
||||
import org.apache.solr.SolrTestCaseJ4;
|
||||
|
@ -34,7 +31,6 @@ import org.junit.BeforeClass;
|
|||
/**
|
||||
* Tests {@link CollationField} with docvalues
|
||||
*/
|
||||
@SuppressCodecs({"Lucene40", "Lucene41"})
|
||||
public class TestCollationFieldDocValues extends SolrTestCaseJ4 {
|
||||
|
||||
@BeforeClass
|
||||
|
|
|
@ -17,7 +17,6 @@ package org.apache.solr.search;
|
|||
* limitations under the License.
|
||||
*/
|
||||
|
||||
import org.apache.lucene.util.LuceneTestCase.SuppressCodecs;
|
||||
import org.apache.solr.SolrTestCaseJ4;
|
||||
import org.junit.BeforeClass;
|
||||
|
||||
|
@ -25,7 +24,6 @@ import org.junit.BeforeClass;
|
|||
/**
|
||||
* Test QueryComponent.doFieldSortValues
|
||||
*/
|
||||
@SuppressCodecs({"Lucene3x"})
|
||||
public class TestFieldSortValues extends SolrTestCaseJ4 {
|
||||
|
||||
@BeforeClass
|
||||
|
|
|
@ -17,15 +17,12 @@ package org.apache.solr.search;
|
|||
* limitations under the License.
|
||||
*/
|
||||
|
||||
import org.apache.lucene.util.LuceneTestCase;
|
||||
import org.apache.solr.SolrTestCaseJ4;
|
||||
import org.junit.Before;
|
||||
import org.junit.BeforeClass;
|
||||
import org.junit.Test;
|
||||
|
||||
//Unlike TestSolr4Spatial, not parameterized / not generic.
|
||||
//We exclude Codecs that don't support DocValues (though not sure if this list is quite right)
|
||||
@LuceneTestCase.SuppressCodecs({"Lucene3x", "Appending", "Lucene40", "Lucene41"})
|
||||
public class TestSolr4Spatial2 extends SolrTestCaseJ4 {
|
||||
|
||||
@BeforeClass
|
||||
|
|
Loading…
Reference in New Issue