title: Does it matter if the filter is inside or outside a filtered query?
body: <p>While these two are giving me the same result, what is the difference between having the filter inside or outside? Is there a difference in terms of performance or the actions behind the scenes?</p>
  
  <pre><code>"query": {
      "filtered": {
          "query":  { "match": { "email": "business opportunity" }},
          "filter": { "term":  { "folder": "inbox" }}
      }
  }
  </code></pre>
  
  <pre><code>"query": {
      "filtered": {
      "query":  { "match": { "email": "business opportunity" }}
      }
  },
  "filter": {
      "term":  { "folder": "inbox" }
  }
  </code></pre>