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.

trait Serializable
trait Product
trait Equals
trait Analyzer
class Object
trait Matchable
class Any

Value members

Concrete methods

override def build: XContentBuilder
Definition Classes

Inherited methods

def productElementNames: Iterator[String]
Inherited from:
Product
def productIterator: Iterator[Any]
Inherited from:
Product