CustomAnalyzer
case class CustomAnalyzer(name: String, tokenizer: String, charFilters: List[String], tokenFilters: List[String], positionIncrementGap: Int) extends Analyzer
When the built-in analyzers do not fulfil your needs, you can create a custom analyzer which uses the appropriate combination of:
zero or more character filters a tokenizer zero or more token filters.
Reference these by name, and if they are custom or configurable add them to the analysis definition.