Package org.apache.lucene.morphology.english

Examples of org.apache.lucene.morphology.english.EnglishAnalyzer


    @Inject
    public EnglishMorphologyAnalyzerProvider(Index index, @IndexSettings Settings indexSettings,
                                             @Assisted String name, @Assisted Settings settings) {
        super(index, indexSettings, name, settings);
        try {
            analyzer = new EnglishAnalyzer();
        } catch (IOException ex) {
            throw new ElasticsearchIllegalArgumentException("Unable to load English morphology analyzer", ex);
        }
    }
View Full Code Here

TOP

Related Classes of org.apache.lucene.morphology.english.EnglishAnalyzer

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.