def create_index(index_name, index_config, client):
    """Creates an index with a given configuration

    Args:
        index_name (str): Name of the index you want to create
        index_config (dict) configuration for the index
        client (Elasticsearch.IndicesClient) the Elasticsearch client
    """
    client.create(index=index_name, body=index_config)
Creates an index with a given configuration

    Args:
        index_name (str): Name of the index you want to create
        index_config (dict) configuration for the index
        client (Elasticsearch.IndicesClient) the Elasticsearch client