@Inject
public RussianMorphologyAnalyzerProvider(Index index, @IndexSettings Settings indexSettings,
@Assisted String name, @Assisted Settings settings) {
super(index, indexSettings, name, settings);
try {
analyzer = new RussianAnalyzer();
} catch (IOException ex) {
throw new ElasticsearchIllegalArgumentException("Unable to load Russian morphology analyzer", ex);
}
}