Interface LuceneAnalysisOptionalComponentsStep
-
- All Known Subinterfaces:
LuceneAnalysisComponentParametersStep,LuceneAnalyzerOptionalComponentsStep,LuceneNormalizerOptionalComponentsStep
public interface LuceneAnalysisOptionalComponentsStepThe 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 LuceneAnalysisComponentParametersStepcharFilter(Class<? extends CharFilterFactory> factory)Add a char filter that the analyzer will use.LuceneAnalysisComponentParametersSteptokenFilter(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.
-
-