public abstract class LuceneAnalyzer
extends org.apache.lucene.analysis.Analyzer
org.apache.lucene.analysis.Analyzer.GlobalReuseStrategy, org.apache.lucene.analysis.Analyzer.PerFieldReuseStrategy, org.apache.lucene.analysis.Analyzer.ReuseStrategy, org.apache.lucene.analysis.Analyzer.TokenStreamComponents
Constructor and Description |
---|
LuceneAnalyzer() |
Modifier and Type | Method and Description |
---|---|
protected org.apache.lucene.analysis.Analyzer.TokenStreamComponents |
createComponents(String fieldName,
Reader reader) |
protected abstract org.apache.lucene.analysis.Tokenizer |
createTokenizer(Reader reader)
生成Tokenizer
|
StopWordManager |
getStopWordManager() |
void |
setStopWordManager(StopWordManager stopWordManager) |
public StopWordManager getStopWordManager()
public void setStopWordManager(StopWordManager stopWordManager)
protected org.apache.lucene.analysis.Analyzer.TokenStreamComponents createComponents(String fieldName, Reader reader)
createComponents
in class org.apache.lucene.analysis.Analyzer
protected abstract org.apache.lucene.analysis.Tokenizer createTokenizer(Reader reader)
reader
- Copyright © 2006–2018 TinyGroup. All rights reserved.