Description
🐛 Bug report
See types.ts:
https://github.com/elastic/elasticsearch-js/blob/a1dc6f55ee04134384e23b937f200c792b64811e/src/api/types.ts#L9391
Supported parameters for range query:
https://www.elastic.co/docs/reference/query-languages/query-dsl/query-dsl-range-query
To reproduce
Make a query to elasticsearch with a range leaf node using from
and to
as parameters.
Expected behavior
Either elasticsearch should support from and to or these should be removed from the types.
Node.js version
22.x
@elastic/elasticsearch version
9.0.0
Operating system
macOS
Any other relevant environment information
No response