Using built-in analyzers

Elasticsearch comes with a number of built-in analyzers that can be used directly. Almost all of these analyzers work without any need for additional configuration, but they provide the flexibility of configuring some parameters.

Some analyzers come packaged with Elasticsearch. Some popular analyzers are the following:

  • Standard analyzer: This is the default analyzer in Elasticsearch. If not overridden by any other field-level, type-level, or index-level analyzer, all fields are analyzed using this analyzer.
  • Language analyzers: Different languages have different grammatical rules. There are differences between some languages as to how a stream of characters is tokenized into words or tokens. Additionally, each language has its own set of stopwords, which can be configured while configuring language analyzers.
  • Whitespace analyzer: The whitespace analyzer breaks down input into tokens wherever it finds a whitespace token such as a space, a tab, a new line, or a carriage return. 

You can find a list of the available built-in analyzers here: https://www.elastic.co/guide/en/elasticsearch/reference/current/analysis-analyzers.html.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
3.147.76.135