docs: def initialize(self, index_name=None):
          '''Create or update indices and mappings'''
          index_name = index_name or self.index_name
          index = Index(index_name, using=es.client)
          for adapter_class in adapter_catalog.values():
              index.doc_type(adapter_class)
          index.create()