Files
elasticsearch-js/docs/doc_examples/17a1e308761afd3282f13d44d7be008a.asciidoc
2024-07-29 17:10:05 -05:00

19 lines
378 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.indices.create({
index: "example",
mappings: {
properties: {
comment: {
type: "text",
term_vector: "with_positions_offsets",
},
},
},
});
console.log(response);
----