mirror of https://github.com/apache/lucene.git
LUCENE-9283: Also exclude DelimitedBoostTokenFilter from TestFactories
This commit is contained in:
parent
aad814ba63
commit
ad75916b6b
|
@ -31,6 +31,7 @@ import org.apache.lucene.analysis.Analyzer;
|
|||
import org.apache.lucene.analysis.BaseTokenStreamTestCase;
|
||||
import org.apache.lucene.analysis.MockTokenizer;
|
||||
import org.apache.lucene.analysis.Tokenizer;
|
||||
import org.apache.lucene.analysis.boost.DelimitedBoostTokenFilterFactory;
|
||||
import org.apache.lucene.analysis.miscellaneous.DelimitedTermFrequencyTokenFilterFactory;
|
||||
import org.apache.lucene.analysis.util.AbstractAnalysisFactory;
|
||||
import org.apache.lucene.analysis.util.CharFilterFactory;
|
||||
|
@ -57,7 +58,8 @@ public class TestFactories extends BaseTokenStreamTestCase {
|
|||
|
||||
/** Factories that are excluded from testing it with random data */
|
||||
private static final Set<Class<? extends AbstractAnalysisFactory>> EXCLUDE_FACTORIES_RANDOM_DATA = new HashSet<>(Arrays.asList(
|
||||
DelimitedTermFrequencyTokenFilterFactory.class
|
||||
DelimitedTermFrequencyTokenFilterFactory.class,
|
||||
DelimitedBoostTokenFilterFactory.class
|
||||
));
|
||||
|
||||
public void test() throws IOException {
|
||||
|
|
|
@ -31,6 +31,7 @@ import org.apache.lucene.analysis.Analyzer;
|
|||
import org.apache.lucene.analysis.BaseTokenStreamTestCase;
|
||||
import org.apache.lucene.analysis.MockTokenizer;
|
||||
import org.apache.lucene.analysis.Tokenizer;
|
||||
import org.apache.lucene.analysis.boost.DelimitedBoostTokenFilterFactory;
|
||||
import org.apache.lucene.analysis.miscellaneous.DelimitedTermFrequencyTokenFilterFactory;
|
||||
import org.apache.lucene.analysis.util.AbstractAnalysisFactory;
|
||||
import org.apache.lucene.analysis.util.CharFilterFactory;
|
||||
|
@ -54,7 +55,8 @@ public class TestFactories extends BaseTokenStreamTestCase {
|
|||
|
||||
/** Factories that are excluded from testing it with random data */
|
||||
private static final Set<Class<? extends AbstractAnalysisFactory>> EXCLUDE_FACTORIES_RANDOM_DATA = new HashSet<>(Arrays.asList(
|
||||
DelimitedTermFrequencyTokenFilterFactory.class
|
||||
DelimitedTermFrequencyTokenFilterFactory.class,
|
||||
DelimitedBoostTokenFilterFactory.class
|
||||
));
|
||||
|
||||
public void test() throws IOException {
|
||||
|
|
Loading…
Reference in New Issue