I have a simple question that is becoming a dilemma. I want to count how many times a particular value has appeared in a particular field of my elasticseach index.
let's say I have product.name and I want to know how many times the exact word "Shampoo" has appeared inside it.
I know there's the terms aggregation that provides all the unique values along with the number of their occurrences. But, given that I have billions of records, that's not good for me. I don't want an extra step to find my desired value among the keys.