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

15 lines
355 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.index({
index: "example",
document: {
location:
"GEOMETRYCOLLECTION (POINT (1000.0 100.0), LINESTRING (1001.0 100.0, 1002.0 100.0))",
},
});
console.log(response);
----