Skip to main content

Define and Use Custom Elasticsearch Analyzers

Hands-On Lab


Photo of

Training Architect





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 hands-on lab, 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
  • 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.