case classCustomAnalyzer(name: String, tokenizer: String, charFilters: List[String], tokenFilters: List[String], positionIncrementGap: Int = 100) extends Analyzer with Product with Serializable
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.
Linear Supertypes
Serializable, Serializable, Product, Equals, Analyzer, AnyRef, Any
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.