mirror of https://github.com/apache/lucene.git
add CommonGramsQueryFilter to brokenOffsetsComponents
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1409199 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
1d7592c509
commit
1dc0f2bdaf
|
@ -59,6 +59,7 @@ import org.apache.lucene.analysis.ValidatingTokenFilter;
|
||||||
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;
|
||||||
|
import org.apache.lucene.analysis.commongrams.CommonGramsQueryFilter;
|
||||||
import org.apache.lucene.analysis.compound.DictionaryCompoundWordTokenFilter;
|
import org.apache.lucene.analysis.compound.DictionaryCompoundWordTokenFilter;
|
||||||
import org.apache.lucene.analysis.compound.HyphenationCompoundWordTokenFilter;
|
import org.apache.lucene.analysis.compound.HyphenationCompoundWordTokenFilter;
|
||||||
import org.apache.lucene.analysis.compound.TestCompoundWordTokenFilter;
|
import org.apache.lucene.analysis.compound.TestCompoundWordTokenFilter;
|
||||||
|
@ -160,7 +161,9 @@ public class TestRandomChains extends BaseTokenStreamTestCase {
|
||||||
// TODO: doesn't handle graph inputs (or even look at positionIncrement)
|
// TODO: doesn't handle graph inputs (or even look at positionIncrement)
|
||||||
HyphenatedWordsFilter.class,
|
HyphenatedWordsFilter.class,
|
||||||
// LUCENE-4065: only if you pass 'false' to enablePositionIncrements!
|
// LUCENE-4065: only if you pass 'false' to enablePositionIncrements!
|
||||||
TypeTokenFilter.class
|
TypeTokenFilter.class,
|
||||||
|
// TODO: doesn't handle graph inputs
|
||||||
|
CommonGramsQueryFilter.class
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue