// This file is autogenerated, DO NOT EDIT
// search/search-your-data/knn-search.asciidoc:213

[source, python]
----
resp = client.bulk(
    index="byte-image-index",
    refresh=True,
    operations=[
        {
            "index": {
                "_id": "1"
            }
        },
        {
            "byte-image-vector": [
                5,
                -20
            ],
            "title": "moose family"
        },
        {
            "index": {
                "_id": "2"
            }
        },
        {
            "byte-image-vector": [
                8,
                -15
            ],
            "title": "alpine lake"
        },
        {
            "index": {
                "_id": "3"
            }
        },
        {
            "byte-image-vector": [
                11,
                23
            ],
            "title": "full moon"
        }
    ],
)
print(resp)
----
