| org.compass.core.CompassAnalyzerHelper
All known Subclasses: org.compass.core.impl.DefaultCompassAnalyzerHelper,
CompassAnalyzerHelper | public interface CompassAnalyzerHelper (Code) | | A set of Analyzer related helper methods. Aimed to help understand and simulate
the analysis process. As well as helping build advance query building capabilities.
author: kimchy |
setAnalyzer | CompassAnalyzerHelper setAnalyzer(Resource resource) throws CompassException(Code) | | Sets the analyzer that will be used for the analysis of the text.
Uses the resource to derive the analyzer
that will be used (works also with per resource property analyzer).
Parameters: resource - The resource to derive the analyzer from the analyzer helper throws: CompassException - |
setAnalyzerByAlias | CompassAnalyzerHelper setAnalyzerByAlias(String alias) throws CompassException(Code) | | Sets the analyzer that will be used for the analysis of the text.
Uses the alias to get the mapping deinfitions and build a specific analyzer
if there is a certain property that is associated with a specific analyzer
(builds a per resource property analyzer).
Parameters: alias - The alias to derive the analyzer from the analyzer helper throws: CompassException - If the analyzer if not found |
|
|