'Builds a list of models for searching.
The ``search`` method should use this and the ``django_ct`` field to
narrow the results (unless the user indicates not to). This helps ignore
any results that are not currently handled models and ensures
consistent caching.'

def build_models_list(self):

    from haystack import connections
    models = []
    for model in connections[self.connection_alias].get_unified_index().get_indexed_models():
        models.append(get_model_ct(model))
    return models
