How query_string work underlying

I am trying to figure out how query_string work underlying. cause I want to compare performance of using query_string with other solution
I tried to deep dive into source code but no answer
example I have a query

{
  "query_string": {
      "query": "(men OR man) tee size (x OR xs)"
  }
}

is elastic generate above query into 4 query as?

{
  "match": {
      "query": "men tee size x"
  }
},
{
  "match": {
      "query": "man tee size x"
  }
},
{
  "match": {
      "query": "men tee size xs"
  }
},
{
  "match": {
      "query": "man tee size xs"
  }
}

Please help me. Thank you

Hi @hieple18

Try use Profile API.

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.