(self, query)
return es
Set the query.  Most stuff we want is better done with filters, but
        if you actually want Levenshtein distance or prefix querying...
Set the query.  Most stuff we want is better done with filters, but
        if you actually want Levenshtein distance or prefix querying...
Set the query . Most stuff we want is better done with filters but if you actually want Levenshtein distance or prefix querying ...
def set_query(self, query):
        """
        Set the query.  Most stuff we want is better done with filters, but
        if you actually want Levenshtein distance or prefix querying...
        """
        es = deepcopy(self)
        es.es_query['query']['bool']['must'] = query
        return es
def set_query ( self , query ) : es = deepcopy ( self ) es . es_query [ 'query' ] [ 'bool' ] [ 'must' ] = query return es