You can use this query to know your dsl query explain
Like sql explain in mysql, it will return the actual meaning of this query.
It could be helpful when you are debugging your long dsl query which does not meet your needs.
GET test_doc/_validate/query?explain
{
"query": {
"bool": {
"must": [
{
"query_string": {
"query": "Test"
}
}
],
"adjust_pure_negative": true,
"boost": 1.0
}
}
}