Skip to content

Commit

Permalink
added PhoneTokenizerFactory
Browse files Browse the repository at this point in the history
  • Loading branch information
hyun-joo-kim committed Jan 19, 2017
1 parent a51963f commit fe9c49e
Showing 1 changed file with 18 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
package org.elasticsearch.index.analysis;

import org.apache.lucene.analysis.Tokenizer;
import org.elasticsearch.common.settings.Settings;
import org.elasticsearch.env.Environment;
import org.elasticsearch.index.IndexSettings;

public class PhoneTokenizerFactory extends AbstractTokenizerFactory {

public PhoneTokenizerFactory(IndexSettings indexSettings, Environment environment, String name, Settings settings) {
super(indexSettings, name, settings);
}

@Override
public Tokenizer create() {
return new PhoneTokenizer();
}
}

0 comments on commit fe9c49e

Please sign in to comment.