24 lines
440 B
Plaintext
24 lines
440 B
Plaintext
// This file is autogenerated, DO NOT EDIT
|
|
// Use `node scripts/generate-docs-examples.js` to generate the docs examples
|
|
|
|
[source, js]
|
|
----
|
|
const response = await client.mtermvectors({
|
|
docs: [
|
|
{
|
|
_index: "my-index-000001",
|
|
doc: {
|
|
message: "test test test",
|
|
},
|
|
},
|
|
{
|
|
_index: "my-index-000001",
|
|
doc: {
|
|
message: "Another test ...",
|
|
},
|
|
},
|
|
],
|
|
});
|
|
console.log(response);
|
|
----
|