Built-in analyzers

Elasticsearch does have built-in analyzers packaged and shipped with it. These analyzers would be good enough for many use cases that are commonly needed. Some of the most used built-in analyzers are detailed briefly:

  • Whitespace analyzer: Uses whitespace to split the string and then generate the terms and put them in Elasticsearch.
  • Standard analyzer: An analyzer used by default if not specified explicitly. Should be enough for most common use cases. It could be used for text in any language and it converts to lowercase after everything is done.
  • Simple analyzer: Splits the letter when encountered with anything that isn't a letter and then finally converts it to lowercase.
  • Language analyzer: As the name suggests, these are for particular languages to understand language-specific characteristics and deal with them. There are many language analyzers built in and shipped with Elasticsearch.
..................Content has been hidden....................

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