Interface LuceneAnalyzerTokenizerStep
public interface LuceneAnalyzerTokenizerStep
The step in an analyzer definition where the tokenizer can be set.
-
Method Summary
Modifier and TypeMethodDescriptiontokenizer
(Class<? extends TokenizerFactory> factoryType) Set the tokenizer to use.Set the tokenizer to use.
-
Method Details
-
tokenizer
Set the tokenizer to use.- Parameters:
factoryName
- The name of the factory that will create the tokenizer. The list of available names can be looked up withLuceneAnalysisConfigurationContext.availableTokenizers()
.- Returns:
- The next step.
-
tokenizer
Set the tokenizer to use.- Parameters:
factoryType
- The type of the factory that will create the tokenizer.- Returns:
- The next step.
-