Whitespace Analyzer

edit

The whitespace analyzer breaks text into terms whenever it encounters a whitespace character.

Definition

edit

It consists of:

Example output

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

The above sentence would produce the following terms:

[ The, 2, QUICK, Brown-Foxes, jumped, over, the, lazy, dog's, bone. ]

Configuration

edit

The whitespace analyzer is not configurable.