Skip to content

Commit

Permalink
Revert test filter names back
Browse files Browse the repository at this point in the history
This commit reverts the filter names used for testing back
to what they were, as the name is used for class name lookup.
  • Loading branch information
russcam committed Jul 22, 2018
1 parent 904f7af commit e65632a
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,8 @@ public AnalysisPhoneticFactoryTests() {
@Override
protected Map<String, Class<?>> getTokenFilters() {
Map<String, Class<?>> filters = new HashMap<>(super.getTokenFilters());
filters.put("beider_morse", PhoneticTokenFilterFactory.class);
filters.put("double_metaphone", PhoneticTokenFilterFactory.class);
filters.put("beidermorse", PhoneticTokenFilterFactory.class);
filters.put("doublemetaphone", PhoneticTokenFilterFactory.class);
filters.put("phonetic", PhoneticTokenFilterFactory.class);
return filters;
}
Expand Down

0 comments on commit e65632a

Please sign in to comment.