定位不合法的查询的api: _validate GET /book/_search?explain{ "query": { "match1": { "name": "test" } }}# validate后面要配合query 和explain连用GET /book/_validate/query?explain{ "query": { "match1": { "name": "test" } }}