I have a simple data table of events with the count of stages.
In my example, a count of '7' indicates that the process has completed all stages.
I want to filter this table for rows with a count <> 7.
I have seen the "min_doc_count" option (https://www.elastic.co/guide/en/elasticsearch/reference/current/search-aggregations-bucket-terms-aggregation.html#_minimum_document_count_4) which is similar to what I want to achieve but not exactly (as this would only identify events which have > 7 but I can not identify anything < 7 using this)
Any one know if I'm able to achieve what I'm after?