@classmethod
    def query(cls, query):
        return cls(query=query)
http://www.elasticsearch.org/guide/reference/query-dsl/query-filter.html
dataset/ETHPy150Open ooici/elasticpy/elasticpy/filter.py/ElasticFilter.query