'results: an es query results dict
fix_keys: remove the "_" from every key, useful for django views
clean_highlight: removed empty highlight
search: a Search object.'

def __init__(self, connection, searches, indices_list=None, doc_types_list=None, routing_list=None, search_type_list=None, models=None):

    for search in searches:
        if (not isinstance(search, Search)):
            raise InvalidQuery('ResultSet    must    be    supplied    with    a    Search    object')
    self.searches = searches
    num_searches = len(self.searches)
    self.connection = connection
    if (indices_list is None):
        self.indices_list = ([None] * num_searches)
    else:
        self.indices_list = indices_list
    if (doc_types_list is None):
        self.doc_types_list = ([None] * num_searches)
    else:
        self.doc_types_list = doc_types_list
    if (routing_list is None):
        self.routing_list = ([None] * num_searches)
    else:
        self.routing_list = routing_list
    if (search_type_list is None):
        self.search_type_list = ([None] * num_searches)
    else:
        self.search_type_list = search_type_list
    self._results_list = None
    self.models = (models or self.connection.model)
    self._total = None
    self.valid = False
    self.error = None
    self.multi_search_query = None
    self.iterpos = 0
    self._max_item = None
