Example usage for Java org.apache.lucene.analysis.standard StandardAnalyzer fields, constructors, methods, implement or subclass
The text is from its open source code.
int | DEFAULT_MAX_TOKEN_LENGTH Default maximum allowed token length |
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. |
void | close() Frees persistent resources used by this Analyzer |
void | setMaxTokenLength(int length) Set the max allowed token length. |
void | setVersion(Version v) Set the version of Lucene this analyzer should mimic the behavior for for analysis. |
TokenStream | tokenStream(final String fieldName, final Reader reader) Returns a TokenStream suitable for fieldName , tokenizing the contents of reader . |