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 O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.