Post image

Count articles by category on search in Ruby on Rails

Have you ever wanted to calculate how many articles will be left in a certain category after search? In this blogpost, I will show you how to use elastic aggregations to achieve this.
read more