final Analyzer analyser = new Analyzer() {
@Override
protected TokenStreamComponents createComponents(final String fieldName,
final Reader reader) {
final WhitespaceTokenizer t = new WhitespaceTokenizer(LuceneTestCase.TEST_VERSION_CURRENT, reader);
final TokenStream ts = new ASCIIFoldingExpansionFilter(t);
return new TokenStreamComponents(t, ts);
}
};
config.put(ConfigurationKeys.DEFAULT_OPERATOR, Operator.OR);
final HashMap<String, Analyzer> dts = new HashMap<String, Analyzer>();