Whitespace Analyzeredit
The whitespace
analyzer breaks text into terms whenever it encounters a
whitespace character.
Definitionedit
It consists of:
- Tokenizer
Example outputedit
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. ]
Configurationedit
The whitespace
analyzer is not configurable.