CustomAnalyzer

com.sksamuel.elastic4s.analysis.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.

Attributes

Graph
Supertypes
trait Serializable
trait Product
trait Equals
trait Analyzer
class Object
trait Matchable
class Any
Show all

Members list

Value members

Concrete methods

override def build: XContentBuilder

Attributes

Definition Classes

Inherited methods

def productElementNames: Iterator[String]

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

Attributes

Inherited from:
Product