@classmethod
    def prefix(cls, field, pre):

        return cls(prefix={field: pre})
http://www.elasticsearch.org/guide/reference/query-dsl/prefix-filter.html
dataset/ETHPy150Open ooici/elasticpy/elasticpy/filter.py/ElasticFilter.prefix