June 2017
Beginner to intermediate
404 pages
8h 22m
English
Similar to the previous chapters, we will use examples to explain aggregations better. In this chapter, we are going to use aggregations that are useful to an e-commerce site. Our data will be about the products in an e-commerce site.
First, let's set the mapping for the chapter8 index:
#Delete existing index DELETE chapter8 #Chapter 8 Mappings PUT chapter8 { "settings": {}, "mappings": { "product": { "properties": { "product_name": { "type": "text" }, "manufacturer" : { "type": "keyword" }, "category" ...Read now
Unlock full access