WARNING: Version 5.6 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.
A token filter of type
porter_stem that transforms the token stream as
per the Porter stemming algorithm.
Note, the input to the stemming filter must already be in lower case, so
you will need to use
Case Token Filter or
Case Tokenizer farther down the Tokenizer chain in order for this to
work properly!. For example, when using custom analyzer, make sure the
lowercase filter comes before the
porter_stem filter in the list of