(field)
return {"exists": {"field": field}}
Only return docs which have a value for ``field``
Only return docs which have a value for ``field``
Only return docs which have a value for field
def exists(field):
    """Only return docs which have a value for ``field``"""
    return {"exists": {"field": field}}
def exists ( field ) : return { "exists" : { "field" : field } }