LUCENE-9283: Exclude DelimitedBoostTokenFilter from TestRandomChains

This commit is contained in:
Alan Woodward 2020-03-19 10:03:10 +00:00
parent 4fd96bedc2
commit 126e4a61b8
1 changed files with 3 additions and 0 deletions

View File

@ -62,6 +62,7 @@ import org.apache.lucene.analysis.TokenFilter;
import org.apache.lucene.analysis.TokenStream; import org.apache.lucene.analysis.TokenStream;
import org.apache.lucene.analysis.Tokenizer; import org.apache.lucene.analysis.Tokenizer;
import org.apache.lucene.analysis.ValidatingTokenFilter; import org.apache.lucene.analysis.ValidatingTokenFilter;
import org.apache.lucene.analysis.boost.DelimitedBoostTokenFilter;
import org.apache.lucene.analysis.charfilter.NormalizeCharMap; import org.apache.lucene.analysis.charfilter.NormalizeCharMap;
import org.apache.lucene.analysis.cjk.CJKBigramFilter; import org.apache.lucene.analysis.cjk.CJKBigramFilter;
import org.apache.lucene.analysis.commongrams.CommonGramsFilter; import org.apache.lucene.analysis.commongrams.CommonGramsFilter;
@ -198,6 +199,8 @@ public class TestRandomChains extends BaseTokenStreamTestCase {
WordDelimiterGraphFilter.class, WordDelimiterGraphFilter.class,
// requires a special encoded token value, so it may fail with random data: // requires a special encoded token value, so it may fail with random data:
DelimitedTermFrequencyTokenFilter.class, DelimitedTermFrequencyTokenFilter.class,
// requires a special encoded token value, so it may fail with random data:
DelimitedBoostTokenFilter.class,
// clones of core's filters: // clones of core's filters:
org.apache.lucene.analysis.core.StopFilter.class, org.apache.lucene.analysis.core.StopFilter.class,
org.apache.lucene.analysis.core.LowerCaseFilter.class)) { org.apache.lucene.analysis.core.LowerCaseFilter.class)) {