title: elasticsearch match vs term query
body: <p>I use the match query search for "request.method": "GET":</p>
  
  <pre><code>    {
        "query": {
          "filtered": {
            "query": {
              "match": {
                "request.method": "GET"
              }
            },
            "filter": {
              "bool": {
                "must": [
  ...
  </code></pre>
  
  <p>As expected, the Match query can get the results, as shown below:</p>
  
  <p><img src="https://i.stack.imgur.com/BYWHi.png" alt="enter image description here"></p>
  
  <p>But the question is when using the Term query, there is no results.</p>
  
  <p>Update the query to change the "match" to "term", and keep the other part remain the same:</p>
  
  <pre><code>{
    "query": {
      "filtered": {
        "query": {
          "term": {
            "request.method": "GET"
          }
        },
        "filter": {
          "bool": {
            "must": [
  ...
  </code></pre>
  
  <p>I think the Term query is the "not analyzed" version of the Match query. As shown in above picture, there is at least one record has "request.method" equal to "GET". Why there is no results for the above-mentioned Term query? Thank you.</p>
  
  <p><img src="https://i.stack.imgur.com/KGW9o.png" alt="enter image description here"></p>