Skip to main content

Create a Custom Elasticsearch Analyzer

Hands-On Lab


Photo of Myles Young

Myles Young

BigData Training Architect II in Content





Relevancy scoring in Elasticsearch is made possible in part by text analyzers. Elasticsearch ships with many analyzers to choose from but has also made it very easy to mix and match tokenizers, token filters, and character filters to create your own analyzer to meet specific text analysis requirements. By using or creating the best analyzer for you, you can greatly improve search results in Elasticsearch. In this learning activity, you are given the opportunity to exercise the following: Create a custom analyzer based on the "standard" analyzer Create a new analyzed field mapping with the custom analyzer * (Optional) Reindex documents with the new analyzer to compare search behavior

What are Hands-On Labs?

Hands-On Labs are scenario-based learning environments where learners can practice without consequences. Don't compromise a system or waste money on expensive downloads. Practice real-world skills without the real-world risk, no assembly required.