// 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: { type: "LineString", coordinates: [ [-77.03653, 38.897676], [-77.009051, 38.889939], ], }, }, }); console.log(response); ----