Chapter 2. Building Your Own E-Commerce Solution
In the first chapter, we discussed how to add documents to an Elasticsearch instance as well as how to create the fields and decide on an analyzer. All these are steps to get you started. The next two chapters help you to get accustomed to the process of creating an e-commerce search solution. E-commerce revolutionized ways to shop, and the convenience that such a trading system provides attracted people very much. Amazon, eBay, and Flipkart are all pioneers in this field. Elasticsearch offers wonderful support to build such platforms, where you can display what you have. There are numerous techniques that can push the user experience even higher, which can eventually reflect on the overall performance of such a system. This is what we deal with in this chapter. Take a look at the contents of this chapter:
- Building the document
- A query or filter—the right choice
- A date-range-based filter
- A prize-range-based filter
- A category-based...