WARNING: Version 5.1 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 Tokenizeredit
The keyword
tokenizer is a “noop” tokenizer that accepts whatever text it
is given and outputs the exact same text as a single term. It can be combined
with token filters to normalise output, e.g. lower-casing email addresses.
Example outputedit
POST _analyze { "tokenizer": "keyword", "text": "New York" }
The above sentence would produce the following term:
[ New York ]
Configurationedit
The keyword
tokenizer accepts the following parameters:
|
The number of characters read into the term buffer in a single pass.
Defaults to |