Skip to content
This repository
Browse code

rename method to conform with other custom analysis methods

  • Loading branch information...
commit dd60187735dd8bdeceadedc8a3cd55d64b195092 1 parent cec46d5
Shay Banon kimchy authored
2  src/main/java/org/elasticsearch/index/analysis/AnalysisModule.java
@@ -146,7 +146,7 @@ public AnalysisModule addTokenFilter(String name, Class<? extends TokenFilterFac
146 146 return this;
147 147 }
148 148
149   - public AnalysisModule addTokenizerFactory(String name, Class<? extends TokenizerFactory> tokenizer) {
  149 + public AnalysisModule addTokenizer(String name, Class<? extends TokenizerFactory> tokenizer) {
150 150 tokenizers.put(name, tokenizer);
151 151 return this;
152 152 }

0 comments on commit dd60187

Please sign in to comment.
Something went wrong with that request. Please try again.