public class AlfrescoStandardAnalyser
extends org.apache.lucene.analysis.Analyzer
Modifier and Type | Field and Description |
---|---|
static 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(String[] stopWords)
Builds an analyzer with the given stop words.
|
Modifier and Type | Method and Description |
---|---|
org.apache.lucene.analysis.TokenStream |
tokenStream(String fieldName,
Reader reader)
Constructs a
StandardTokenizer filtered by a StandardFilter , a LowerCaseFilter and a StopFilter . |
public static final String[] STOP_WORDS
public AlfrescoStandardAnalyser()
public AlfrescoStandardAnalyser(String[] stopWords)
Copyright © 2005–2017 Alfresco Software. All rights reserved.