Elasticsearch

Elasticsearch: blazing fast products per category

Posted on by  
Michel Breevoort

This post will show how to create a list with how many products there are in a category and their sub categories with Elasticsearch aggregations covered with tests.

On our site there are products with a category and they have a sub category, for example product category is shoes and sneakers is a sub category.

shirts (134)
shoes (254)
    - running (54)
    - sneakers (200)

Continue reading →

shadow-left