Permalink
Browse files

rename method to conform with other custom analysis methods

  • Loading branch information...
1 parent cec46d5 commit dd60187735dd8bdeceadedc8a3cd55d64b195092 @kimchy kimchy committed Apr 9, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/main/java/org/elasticsearch/index/analysis/AnalysisModule.java
@@ -146,7 +146,7 @@ public AnalysisModule addTokenFilter(String name, Class<? extends TokenFilterFac
return this;
}
- public AnalysisModule addTokenizerFactory(String name, Class<? extends TokenizerFactory> tokenizer) {
+ public AnalysisModule addTokenizer(String name, Class<? extends TokenizerFactory> tokenizer) {
tokenizers.put(name, tokenizer);
return this;
}

0 comments on commit dd60187

Please sign in to comment.