no args constructor for FakeWordsEncoderAnalyzer
@@ -30,10 +30,17 @@ import org.apache.lucene.analysis.Tokenizer;
public class FakeWordsEncoderAnalyzer extends Analyzer {
static final String REMOVE_IT = "_";
+
+ private static final int DEFAULT_Q = 60;
+
private final int q;
private final CharArraySet set = new CharArraySet(1, false);
+ public FakeWordsEncoderAnalyzer() {
+ this(DEFAULT_Q);
+ }
+
public FakeWordsEncoderAnalyzer(int q) {
this.q = q;
this.set.add(REMOVE_IT);
