Help understanding syntax options

I’m trying to write queries but having to heavily rely on chatbots to understand what options are possible for aggregations. For example for the Range aggregation, how can I know that I can supply just the “to” value without the “from”? Where would that documented?

I’m having trouble finding such answers on the documentation website Home - OpenSearch Documentation, I’m trying to see the syntax definition, ideally with explanations on what each fields refers to and accepts.

Thanks!

Hi @unusual334,

Have you checked: Range - OpenSearch Documentation

More on aggregations: Aggregations - OpenSearch Documentation

best,
mj

I have, if you go to the Range documentation you’ll see there’s no mention of being able to exclude to or from.

I’m having a hard time understanding the full capabilities of OpenSearch, it seems like there’s some assumption that users are familiar with the ElasticSearch syntax coming to OpenSearch’s documentation.