org.apache.cocoon.components.search.analyzer
Class ConfigurablePerFieldAnalyzer
java.lang.Object
org.apache.lucene.analysis.Analyzer
org.apache.cocoon.components.search.analyzer.ConfigurableAnalyzer
org.apache.cocoon.components.search.analyzer.ConfigurablePerFieldAnalyzer
- All Implemented Interfaces:
- org.apache.avalon.framework.logger.LogEnabled
public class ConfigurablePerFieldAnalyzer
- extends ConfigurableAnalyzer
Configurable PerFieldAnalyzerWrapper. Allow one analyzer per field for
indexing a document (useful for multilanguage document)
(@link org.apache.lucene.analysis.PerFieldAnalyzerWrapper class)
A config file for this analyzer is:
- Author:
- Nicolas Maisonneuve
Method Summary |
void |
configure(org.apache.avalon.framework.configuration.Configuration configuration)
Configure this analyzer. this method is called in |
Methods inherited from class org.apache.lucene.analysis.Analyzer |
tokenStream |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CONFIG_DEFAULTANALYZER_ATTRIBUTE
public static final java.lang.String CONFIG_DEFAULTANALYZER_ATTRIBUTE
- See Also:
- Constant Field Values
FIELDS_ELEMENT
public static final java.lang.String FIELDS_ELEMENT
- See Also:
- Constant Field Values
FIELD_ELEMENT
public static final java.lang.String FIELD_ELEMENT
- See Also:
- Constant Field Values
FIELD_NAME_ATTRIBUTE
public static final java.lang.String FIELD_NAME_ATTRIBUTE
- See Also:
- Constant Field Values
FIELD_ANALYZERID_ATTRIBUTE
public static final java.lang.String FIELD_ANALYZERID_ATTRIBUTE
- See Also:
- Constant Field Values
ConfigurablePerFieldAnalyzer
public ConfigurablePerFieldAnalyzer()
configure
public void configure(org.apache.avalon.framework.configuration.Configuration configuration)
throws org.apache.avalon.framework.configuration.ConfigurationException
- Description copied from class:
ConfigurableAnalyzer
- Configure this analyzer. this method is called in
- Specified by:
configure
in class ConfigurableAnalyzer
- Throws:
org.apache.avalon.framework.configuration.ConfigurationException
- See Also:
method
Copyright © $ Apache Software Foundation. All Rights Reserved.