Problem with multiple match query

Please format your code using </> icon as explained in this guide. It will make your post more readable.

Or use markdown style like:

```
CODE
```

Do you know where this error can come from ?

Yes. It's incorrect. Look at the expected format here: Range Aggregation | Elasticsearch Reference [5.5] | Elastic