interface QueryDslRangeQueryBase
suggests from
and to
are valid parameters when they will not be accepted by elasticsearch
#2846
Labels
🐛 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
andto
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
The text was updated successfully, but these errors were encountered: