Interface LuceneAnalysisOptionalComponentsStep
-
- All Known Subinterfaces:
LuceneAnalysisComponentParametersStep
,LuceneAnalyzerOptionalComponentsStep
,LuceneNormalizerOptionalComponentsStep
public interface LuceneAnalysisOptionalComponentsStep
The step in an analyzer/normalizer definition where optional components such as char filters or token filters can be added.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description LuceneAnalysisComponentParametersStep
charFilter(Class<? extends CharFilterFactory> factory)
Add a char filter that the analyzer will use.LuceneAnalysisComponentParametersStep
tokenFilter(Class<? extends TokenFilterFactory> factory)
Add a token filter that the analyzer will use.
-
-
-
Method Detail
-
charFilter
LuceneAnalysisComponentParametersStep charFilter(Class<? extends CharFilterFactory> factory)
Add a char filter that the analyzer will use.- Parameters:
factory
- The factory that will create the char filter.- Returns:
- The next step.
-
tokenFilter
LuceneAnalysisComponentParametersStep tokenFilter(Class<? extends TokenFilterFactory> factory)
Add a token filter that the analyzer will use.- Parameters:
factory
- The factory that will create the token filter.- Returns:
- The next step.
-
-