WARNING: Version 5.2 of Elasticsearch has passed its EOL date.
This documentation is no longer being maintained and may be removed. If you are running this version, we strongly advise you to upgrade. For the latest information, see the current release documentation.
Keyword Analyzeredit
The keyword
analyzer is a “noop” analyzer which returns the entire input
string as a single token.
Definitionedit
It consists of:
- Tokenizer
Example outputedit
POST _analyze { "analyzer": "keyword", "text": "The 2 QUICK Brown-Foxes jumped over the lazy dog's bone." }
The above sentence would produce the following single term:
[ The 2 QUICK Brown-Foxes jumped over the lazy dog's bone. ]
Configurationedit
The keyword
analyzer is not configurable.