public class AlfrescoStandardAnalyser
extends org.apache.lucene.analysis.Analyzer
Modifier and Type | Field and Description |
---|---|
static java.lang.String[] |
STOP_WORDS
An array containing some common English words that are usually not useful for searching.
|
Constructor and Description |
---|
AlfrescoStandardAnalyser()
Builds an analyzer.
|
AlfrescoStandardAnalyser(java.lang.String[] stopWords)
Builds an analyzer with the given stop words.
|
Modifier and Type | Method and Description |
---|---|
org.apache.lucene.analysis.TokenStream |
tokenStream(java.lang.String fieldName,
java.io.Reader reader)
Constructs a
StandardTokenizer filtered by a StandardFilter , a LowerCaseFilter and a StopFilter . |
public static final java.lang.String[] STOP_WORDS
public AlfrescoStandardAnalyser()
public AlfrescoStandardAnalyser(java.lang.String[] stopWords)
public org.apache.lucene.analysis.TokenStream tokenStream(java.lang.String fieldName, java.io.Reader reader)
StandardTokenizer
filtered by a StandardFilter
, a LowerCaseFilter
and a StopFilter
.tokenStream
in class org.apache.lucene.analysis.Analyzer
Copyright © 2005 - 2013 Alfresco Software, Inc. All Rights Reserved.