Limit terms bucket to results with more than one document


I would like to create a table showing buckets with two or more documents in it. I have been able to create a table showing the top n buckets, but most of those have just 1 document in them:

In the example above, I would like to display only the first 3 results (the ones where the Count is greater than 1).

Is there a way to achieve this?

I figured it out, the solution was to put {"min_doc_count": 2} in the JSON Input of the Terms bucket.

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