(filter_)
return {"bool": {"must_not": filter_}}
Exclude docs matching the filter passed in
Exclude docs matching the filter passed in
Exclude docs matching the filter passed in
def NOT(filter_):
    """Exclude docs matching the filter passed in"""
    return {"bool": {"must_not": filter_}}
def NOT ( filter_ ) : return { "bool" : { "must_not" : filter_ } }