// This file is autogenerated, DO NOT EDIT
// docs/termvectors.asciidoc:360

[source, python]
----
resp = client.termvectors(
    index="my-index-000001",
    doc={
        "fullname": "John Doe",
        "text": "test test test"
    },
    fields=[
        "fullname"
    ],
    per_field_analyzer={
        "fullname": "keyword"
    },
)
print(resp)
----
