Difference between nested in bool and bool in nested

Is there a difference in terms of performance and cache between nested query inside bool query and vice versa?
For example,

{
  "query": {
    "bool": {
      "filter": [
        {
          "nested": {
            "path": "user",
            "query": {
              "term": {
                "user.firstName": "Anton"
              }
            }
          }
        }
      ]
    }
  }
}

and

{
  "query": {
    "nested": {
      "path": "user",
      "query": {
        "bool": {
          "filter": [
            {
              "term": {
                "user.firstName": "Anton"
              }
            }
          ]
        }
      }
    }
  }
}

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