Example usage for org.apache.lucene.analysis.standard ClassicAnalyzer ClassicAnalyzer

List of usage examples for org.apache.lucene.analysis.standard ClassicAnalyzer ClassicAnalyzer

Introduction

In this page you can find the example usage for org.apache.lucene.analysis.standard ClassicAnalyzer ClassicAnalyzer.

Prototype

public ClassicAnalyzer(Reader stopwords) throws IOException 

Source Link

Document

Builds an analyzer with the stop words from the given reader.

Usage

From source file:org.infoglue.cms.controllers.kernel.impl.simple.LuceneUsersController.java

License:Open Source License

private Analyzer getAnalyzer() throws Exception {
    return new ClassicAnalyzer(Version.LUCENE_34);
    //return new KeywordAnalyzer();
    //return new WhitespaceAnalyzer(Version.LUCENE_34);
    //return new StandardAnalyzer(Version.LUCENE_34);
}