Chapter 10. Query suggestions

This chapter covers

  • Spell-checking
  • Suggesting query terms
  • Implementing a predictive instant search experience
  • Suggesting queries based on past user activity

In this chapter, we introduce two simple features to help improve the usability of your search solution. Specifically, we cover spell-checking and autosuggest. Spell-checking addresses the problem of misspelled query terms, leading to poor search results. You’ve probably seen an incarnation of spell-checking when using your favorite web search engine and it asks, Did you mean ...? Spell-checking is a crucial feature for helping users who don’t take the time to craft perfect queries, especially in mobile environments.

Autosuggest helps users as they type ...

Get Solr in Action now with O’Reilly online learning.

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