Appendix F. Using suggesters for autocomplete and did-you-mean functionality

You now expect search engines not only to return good results but also to improve your queries. Take Google, for instance: if you make a typo, Google tells you about it and recommends a correction or even runs it directly, as shown in figure F.1.

Figure F.1. Spell checking by Google

Google also tries to prevent typos by offering autocomplete, which also makes queries faster and shows you topics that you might find interesting, as shown in figure F.2.

Figure F.2. Autocomplete on Google

Elasticsearch offers both did-you-mean (DYM) and autocomplete functionality through ...

Get Elasticsearch in Action 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.