In this chapter, we studied in depth the implementation of Solr in an e-commerce scenario. We saw how to design an e-commerce index in Solr. We discussed the problems faced in e-commerce while implementing a search. We saw different ways of sorting and faceting the products. We also saw multi-select and hierarchical faceting. We had a look at the concept of semantic search and some optimizations that could be used while implementing the same.
In the next chapter, we will look at best practices and ideas for using Solr for a spatial or geospatial search.