Java 类org.apache.lucene.analysis.hi.HindiAnalyzer 实例源码

项目:elasticsearch_my    文件:HindiAnalyzerProvider.java   
public HindiAnalyzerProvider(IndexSettings indexSettings, Environment env, String name, Settings settings) {
    super(indexSettings, name, settings);
    analyzer = new HindiAnalyzer(
        Analysis.parseStopWords(env, indexSettings.getIndexVersionCreated(), settings, HindiAnalyzer.getDefaultStopSet()),
        Analysis.parseStemExclusion(settings, CharArraySet.EMPTY_SET)
    );
    analyzer.setVersion(version);
}
项目:Elasticsearch    文件:HindiAnalyzerProvider.java   
@Inject
public HindiAnalyzerProvider(Index index, IndexSettingsService indexSettingsService, Environment env, @Assisted String name, @Assisted Settings settings) {
    super(index, indexSettingsService.getSettings(), name, settings);
    analyzer = new HindiAnalyzer(Analysis.parseStopWords(env, settings, HindiAnalyzer.getDefaultStopSet()),
                                 Analysis.parseStemExclusion(settings, CharArraySet.EMPTY_SET));
    analyzer.setVersion(version);
}
项目:elasticsearch_my    文件:HindiAnalyzerProvider.java   
@Override
public HindiAnalyzer get() {
    return this.analyzer;
}
项目:Elasticsearch    文件:HindiAnalyzerProvider.java   
@Override
public HindiAnalyzer get() {
    return this.analyzer;
}