code: def _get_index_class_name(self, index_cls):
          
          cls_name = index_cls.__name__
          aliases = self.Meta.index_aliases
          return aliases.get(cls_name, cls_name.split('.')[-1])
docs: Converts in index model class to a name suitable for use as a field name prefix. A user
          may optionally specify custom aliases via an 'index_aliases' attribute on the Meta class