mirror of https://github.com/apache/lucene.git
LUCENE-9283: Exclude DelimitedBoostTokenFilter from TestRandomChains
This commit is contained in:
parent
4fd96bedc2
commit
126e4a61b8
|
@ -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)) {
|
||||||
|
|
Loading…
Reference in New Issue