code: def _index(self, model):
          '''
          get index
          '''
          index_name = self.index_name
          if hasattr(model, "__msearch_index__"):
              index_name = model.__msearch_index__
  
          name = model
          if not isinstance(model, str):
              name = model.__table__.name
          if name not in self._indexs:
              self._indexs[name] = Index(index_name, model, self.analyzer)
          return self._indexs[namef _index(self, model):
          '''
          get index
          '''
          index_name = self.index_name
          if hasattr(model, "__msearch_index__"):
              index_name = model.__msearch_index__
  
          name = model
          if not isinstance(model, str):
              name = model.__table__.name
          if name not in self._indexs:
              self._indexs[name] = Index(index_name, model, self.analyzer)
          return self._indexs[name]
docs: get index