public class LuceneAnalyzerImpl extends AbstractComponent implements LuceneAnalyzer
LuceneAnalyzer
interface.Modifier and Type | Field and Description |
---|---|
private org.apache.lucene.analysis.Analyzer |
analyzer |
private LuceneVersion |
luceneVersion |
Constructor and Description |
---|
LuceneAnalyzerImpl()
The constructor.
|
Modifier and Type | Method and Description |
---|---|
protected void |
doInitialize()
This method performs the actual
initialization . |
org.apache.lucene.analysis.Analyzer |
getAnalyzer()
This method gets the
Analyzer to use. |
void |
setAnalyzer(org.apache.lucene.analysis.Analyzer analyzer) |
void |
setLuceneVersion(LuceneVersion luceneVersion) |
doInitialized, getInitializationState, initialize
private LuceneVersion luceneVersion
setLuceneVersion(LuceneVersion)
private org.apache.lucene.analysis.Analyzer analyzer
getAnalyzer()
protected void doInitialize()
initialization
. It is called when AbstractComponent.initialize()
is
invoked for the first time. super.
AbstractComponent.doInitialize()
.doInitialize
in class AbstractComponent
public org.apache.lucene.analysis.Analyzer getAnalyzer()
Analyzer
to use.getAnalyzer
in interface LuceneAnalyzer
Analyzer
to use.public void setAnalyzer(org.apache.lucene.analysis.Analyzer analyzer)
analyzer
- is the analyzer to set@Inject public void setLuceneVersion(LuceneVersion luceneVersion)
luceneVersion
- is the luceneVersion to setCopyright © 2001–2016 mmm-Team. All rights reserved.