'Convenience method that re-save all instances of the specified model
and then refreshes the corresponding ES index.'

@classmethod
def reindex(cls, model):

    [o.save() for o in model.objects.all()]
    cls.refresh(doctypes=model.get_indexer().get_mapping_type_name())
