// 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.search({ index: "my-index", size: 10000, query: { geo_bounding_box: { "my-geo-field": { top_left: { lat: -40.979898069620134, lon: -45, }, bottom_right: { lat: -66.51326044311186, lon: 0, }, }, }, }, aggregations: { grid: { geotile_grid: { field: "my-geo-field", precision: 11, size: 65536, bounds: { top_left: { lat: -40.979898069620134, lon: -45, }, bottom_right: { lat: -66.51326044311186, lon: 0, }, }, }, }, bounds: { geo_bounds: { field: "my-geo-field", wrap_longitude: false, }, }, }, }); console.log(response); ----