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

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