1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22
|
// This file is autogenerated, DO NOT EDIT
// docs/termvectors.asciidoc:424
[source, python]
----
resp = client.termvectors(
index="imdb",
doc={
"plot": "When wealthy industrialist Tony Stark is forced to build an armored suit after a life-threatening incident, he ultimately decides to use its technology to fight against evil."
},
term_statistics=True,
field_statistics=True,
positions=False,
offsets=False,
filter={
"max_num_terms": 3,
"min_term_freq": 1,
"min_doc_freq": 1
},
)
print(resp)
----
|