docs: def delete_terms_indexes(es, index_name: str = "terms_*"):
      """Delete all terms indexes"""
  
      try:
          es.indices.delete(index=index_name)
      except Exception as e:
          log.error(f"Could not delete all terms indices: {e}")