// 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: "MultiPolygon", coordinates: [ [ [ [102, 2], [103, 2], [103, 3], [102, 3], [102, 2], ], ], [ [ [100, 0], [101, 0], [101, 1], [100, 1], [100, 0], ], [ [100.2, 0.2], [100.8, 0.2], [100.8, 0.8], [100.2, 0.8], [100.2, 0.2], ], ], ], }, }, }); console.log(response); ----