Hi Guys,

I am trying to do an aggregation (sum) using streaming API. I have around
10 billion documents in my collection and every document has around 10
docValues.

So streaming facet is taking close to 6 secs to respond with aggregation on
10 fields while streaming rollup is returning the response in 2 secs.

So my questions are:

1. What is the fundamental difference between streaming facet and rollUp.
2. When to use facet and when to use rollUp.

Thanks

Reply via email to