Java 类org.apache.lucene.analysis.hy.ArmenianAnalyzer 实例源码

项目:elasticsearch_my    文件:ArmenianAnalyzerProvider.java   
public ArmenianAnalyzerProvider(IndexSettings indexSettings, Environment env, String name, Settings settings) {
    super(indexSettings, name, settings);
    analyzer = new ArmenianAnalyzer(
        Analysis.parseStopWords(env, indexSettings.getIndexVersionCreated(), settings, ArmenianAnalyzer.getDefaultStopSet()),
        Analysis.parseStemExclusion(settings, CharArraySet.EMPTY_SET)
    );
    analyzer.setVersion(version);
}
项目:Elasticsearch    文件:ArmenianAnalyzerProvider.java   
@Inject
public ArmenianAnalyzerProvider(Index index, IndexSettingsService indexSettingsService, Environment env, @Assisted String name, @Assisted Settings settings) {
    super(index, indexSettingsService.getSettings(), name, settings);
    analyzer = new ArmenianAnalyzer(Analysis.parseStopWords(env, settings, ArmenianAnalyzer.getDefaultStopSet()),
                                    Analysis.parseStemExclusion(settings, CharArraySet.EMPTY_SET));
    analyzer.setVersion(version);
}
项目:elasticsearch_my    文件:ArmenianAnalyzerProvider.java   
@Override
public ArmenianAnalyzer get() {
    return this.analyzer;
}
项目:Elasticsearch    文件:ArmenianAnalyzerProvider.java   
@Override
public ArmenianAnalyzer get() {
    return this.analyzer;
}
项目:stratio-cassandra    文件:PreBuiltAnalyzersTest.java   
@Test
public void testGetArmenian() {
    Analyzer analyzer = PreBuiltAnalyzers.ARMENIAN.get();
    Assert.assertEquals(ArmenianAnalyzer.class, analyzer.getClass());
}