public class LuceneFieldManagerFactoryImpl extends AbstractLoggableComponent implements LuceneFieldManagerFactory
create.| Modifier and Type | Field and Description |
|---|---|
private org.apache.lucene.analysis.Analyzer |
analyzer |
private Iso8601Util |
iso8601Util |
private LuceneAnalyzer |
luceneAnalyzer |
private LuceneVersion |
luceneVersion |
| Constructor and Description |
|---|
LuceneFieldManagerFactoryImpl()
The constructor.
|
| Modifier and Type | Method and Description |
|---|---|
LuceneFieldManager |
createFieldManager(SearchConfigurationHolder<? extends SearchConfiguration> configurationHolder)
This method creates a new
LuceneFieldManager instance for the given configuration. |
protected void |
doInitialize()
This method performs the actual
initialization. |
protected org.apache.lucene.analysis.Analyzer |
getAnalyzer() |
void |
setAnalyzer(org.apache.lucene.analysis.Analyzer analyzer) |
void |
setIso8601Util(Iso8601Util iso8601Util) |
void |
setLuceneAnalyzer(LuceneAnalyzer luceneAnalyzer) |
void |
setLuceneVersion(LuceneVersion luceneVersion) |
createLogger, getLoggerdoInitialized, getInitializationState, initializeprivate org.apache.lucene.analysis.Analyzer analyzer
getAnalyzer()private LuceneAnalyzer luceneAnalyzer
setLuceneAnalyzer(LuceneAnalyzer)private LuceneVersion luceneVersion
setLuceneVersion(LuceneVersion)private Iso8601Util iso8601Util
setIso8601Util(Iso8601Util)public LuceneFieldManagerFactoryImpl()
protected org.apache.lucene.analysis.Analyzer getAnalyzer()
Analyzer to use.public void setAnalyzer(org.apache.lucene.analysis.Analyzer analyzer)
analyzer - is the Analyzer to set.@Inject public void setLuceneAnalyzer(LuceneAnalyzer luceneAnalyzer)
luceneAnalyzer - is the LuceneAnalyzer to inject.@Inject public void setLuceneVersion(LuceneVersion luceneVersion)
luceneVersion - is the luceneVersion to set@Inject public void setIso8601Util(Iso8601Util iso8601Util)
iso8601Util - is the iso8601Util to setprotected void doInitialize()
initialization. It is called when AbstractComponent.initialize() is
invoked for the first time. super.AbstractComponent.doInitialize().doInitialize in class AbstractLoggableComponentpublic LuceneFieldManager createFieldManager(SearchConfigurationHolder<? extends SearchConfiguration> configurationHolder)
LuceneFieldManager instance for the given configuration.createFieldManager in interface LuceneFieldManagerFactoryconfigurationHolder - is the SearchConfigurationHolder.LuceneFieldManager.Copyright © 2001–2016 mmm-Team. All rights reserved.