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