(self, models=None)
return set(iterkeys(self._indices))
Get all indices in the registry or the indices for a list of models
Get all indices in the registry or the indices for a list of models
Get all indices in the registry or the indices for a list of models
def get_indices(self, models=None):
        """
        Get all indices in the registry or the indices for a list of models
        """
        if models is not None:
            return set(
                indice for indice, docs in iteritems(self._indices)
                for doc in docs if doc.django.model in models
            )

        return set(iterkeys(self._indices))
def get_indices ( self , models = None ) : if models is not None : return set ( indice for indice , docs in iteritems ( self . _indices ) for doc in docs if doc . django . model in models ) return set ( iterkeys ( self . _indices ) )