Summary

In this chapter, we focused on improving the user search experience. We started with working on did-you-mean functionality which is implemented by term and phrase suggesters and then covered search-as-you-type, for instance an auto-completion feature which is implemented using the completion suggester. We also saw the limitations of the completion suggester in handling advanced queries and partial matching, which was further solved by implementing our custom completion using n-grams. Lastly, we discussed the synonyms implementation and the limitations of synonyms usage in some scenarios.

In the next chapter, we will discuss topics which will give you an expert idea of designing index architecture, such as choosing the right number of shards ...

Get Mastering Elasticsearch 5.x - Third Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.