code: def list_types(index_name, host='localhost',port='9200'):
          '''
          Lists the context types available in an index
          '''
          return ElasticSearch(host=host, port=port).type_list(index_namef list_types(index_name, host='localhost',port='9200'):
          '''
          Lists the context types available in an index
          '''
          return ElasticSearch(host=host, port=port).type_list(index_name)
docs: Lists the context types available in an index