[watchers] over all documents or top?

hi there
while creating new alarm there is a 'over' field with two values: 1. all documents 2. top
i want to know what each of them means?

Just to clarify: Can you be more specific what you mean/where you saw this field? Are you talking about the Watcher UI here?

yes, watcher ui

Hey,

so total document count just counts all the hits, where as 'grouped over' means that any of the top5 value counts, that is grouped by some criteria is compared against the threshold.

Imagine you search in ecommerce products, you could either count all the products or group by category_id and only if a count over one of the groups would be over the threshold, the action would trigger.

hope this helps.

--Alex

Hope that helps!

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.