Elasticsearch provides a large set of analyzers and tokenizers to cover general needs out of the box. Sometimes, we need to extend the capabilities of Elasticsearch by adding new analyzers.
Typically, you can create an analyzer plugin when you need to do the following:
- Add standard Lucene analyzers/tokenizers that are not provided by Elasticsearch
- Integrate third-party analyzers
- Add custom analyzers
In this recipe, we will add a new custom English analyzer, similar to the one provided by Elasticsearch.