Simple Analyzeredit

The simple analyzer breaks text into terms at any non-letter character, such as numbers, spaces, hyphens and apostrophes, discards non-letter characters, and changes uppercase to lowercase.

Exampleedit

POST _analyze
{
  "analyzer": "simple",
  "text": "The 2 QUICK Brown-Foxes jumped over the lazy dog's bone."
}

The simple analyzer parses the sentence and produces the following terms:

[ the, quick, brown, foxes, jumped, over, the, lazy, dog, s, bone ]

Configure parametersedit

The simple analyzer does not contain configurable parameters.

Customizeedit

The simple analyzer is defined by one tokenizer:

To customize the simple analyzer, duplicate it to create the basis for a custom analyzer. The new analyzer can be modified as required, usually by adding token filters.

Exampleedit

PUT /simple_example
{
  "settings": {
    "analysis": {
      "analyzer": {
        "rebuilt_simple": {
          "tokenizer": "lowercase",
          "filter": [         
          ]
        }
      }
    }
  }
}

Add token filters here.