def METHOD_NAME(record):
    """Populate the index with data"""
    put_item_url = f"{NODE}/{INDEX}/{DOC_TYPE}"
    data = {}
    for idx, attr in enumerate(ATTRS):
        data[attr] = record[idx]
    res = requests.post(put_item_url, json=data, headers=HEADERS)
    # The 201 status code indicates the documents have been properly indexed
    assert res.status_code == 201
    # allow the cluster to index in the background.
    time.sleep(1)