public class StandardCleaningAnalyzer
extends org.apache.lucene.analysis.Analyzer
StandardTokenizer with StandardFilter, LowerCaseFilter, StopFilter and ISOLatin1AccentFilter.| 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 |
|---|
StandardCleaningAnalyzer()
Builds an analyzer.
|
StandardCleaningAnalyzer(String[] stopWords)
Builds an analyzer with the given stop words.
|
| Modifier and Type | Method and Description |
|---|---|
void |
setCleanHtml(boolean clean) |
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 StandardCleaningAnalyzer()
public StandardCleaningAnalyzer(String[] stopWords)
MMBase 1.9-SNAPSHOT - ${javadoctimestamp}