Chapter 11. Case Study of Using Solr in E-Commerce

In the previous chapter, we saw how we can use SolrCloud to set up a cluster of Solr servers, which can be used to provide a fault-tolerant and high availability environment. Now let's see how we can use Solr in e-commerce websites to improve user experience while searching for a relevant product. Providing the best user experience is the main concern for e-commerce websites these day, and we can use Solr's inbuilt features to provide a much better search experience for the user.

In this chapter, we'll cover the following topics:

  • Creating an AutoSuggest feature
  • Result grouping and facet search
  • Search filtering and sorting
  • Relevancy boosting

Creating an AutoSuggest feature

One of the most common features ...

Get Apache Solr for Indexing Data 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.