GET twitter/_validate/query?q=user:fooreturn
{"valid":true,"_shards":{"total":1,"successful":1,"failed":0}}, if the parameter format is not correct, valid is false
GET twitter/_validate/query?q=user:fooreturn
{"valid":true,"_shards":{"total":1,"successful":1,"failed":0}}, if the parameter format is not correct, valid is false