Java org.apache.lucene.analysis.standard StandardAnalyzer fields, constructors, methods, implement or subclass

Example usage for Java org.apache.lucene.analysis.standard StandardAnalyzer fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for org.apache.lucene.analysis.standard StandardAnalyzer.

The text is from its open source code.

Subclass

org.apache.lucene.analysis.standard.StandardAnalyzer has subclasses.
Click this link to see all its subclasses.

Field

intDEFAULT_MAX_TOKEN_LENGTH
Default maximum allowed token length

Constructor

StandardAnalyzer()
Builds an analyzer with no stop words.
StandardAnalyzer(CharArraySet stopWords)
Builds an analyzer with the given stop words.
StandardAnalyzer(Reader stopwords)
Builds an analyzer with the stop words from the given reader.

Method

voidclose()
Frees persistent resources used by this Analyzer
voidsetMaxTokenLength(int length)
Set the max allowed token length.
voidsetVersion(Version v)
Set the version of Lucene this analyzer should mimic the behavior for for analysis.
TokenStreamtokenStream(final String fieldName, final Reader reader)
Returns a TokenStream suitable for fieldName, tokenizing the contents of reader.