IMPORTANT: Version 6.6 of Elasticsearch has passed its maintenance date.
This documentation is no longer being updated. For the latest information, see the current release documentation.
truncate token filter can be used to truncate tokens into a
It accepts a
length parameter which control the number of characters
to truncate to, defaults to