i am confused about restful api query DSL body schema , reference is full of examples not BNF syntaxes.
books i can find like it's too old & code won't work for es 5.4+
At last i found there is a spec project with test.
https://github.com/elastic/elasticsearch/tree/master/rest-api-spec, maybe i can learn from the tests.
So my question is :
- is there some place have the Query DSL schema defined?
2. how to run the rest-api-spec test???
sorry i hadn't noticed this before https://github.com/elastic/elasticsearch/blob/master/TESTING.asciidoc#testing-the-rest-layer