title: Matching document by ElasticSearch's Percolate API always returns no matches if registered queries contain terms
body: <p>I try to use <code>Percolator</code> by <code>Elasticsearch</code> and I have a minor issue.</p>
  
  <p>Suppose our document looks like this:</p>
  
  <pre><code>{
      "doc": {
          "full_name": "Pacman"
          "company": "Arcade Game LTD",
          "occupation": "hunter", 
          "tags": ["Computer Games"]
      }
  }
  </code></pre>
  
  <p>And our registered query like this:</p>
  
  <pre><code>{
      "query": {
          "bool": {
              "must": [
                 {
                     "match_phrase":{
                         "occupation":  "hunter"
                     }
                 },
                 {
                     "terms": {
                         "tags":  [
                             "Computer Games",
                             "Electronic Sports"
                             ],
                         "minimum_match": 1
                     }
                 }
              ]
          }
      }
  }
  </code></pre>
  
  <p>I get:</p>
  
  <pre><code>{
     "took": 3,
     "_shards": {
        "total": 5,
        "successful": 5,
        "failed": 0
     },
     "total": 0,
     "matches": []
  }
  </code></pre>
  
  <p>and I don't know what I'm doing wrong, because if I remove <code>terms</code> from registered query and just match by <code>occupation</code> it works as expected and I get one match.</p>
  
  <p>Any hints?</p>
  
  <p><strong>Update 1</strong></p>
  
  <p>OK, I think that @Slam's solution is the right direction, but I still have some issues:</p>
  
  <p>I updated my mapping for tags, so it now looks like this:</p>
  
  <pre><code>"tags": {
      "store": True,
      "analyzer": "snowball",
      "type": "string",
      "index": "analyzed",
      "fields": {
          "raw": {
             "type": "string",
             "index": "not_analyzed"
         }
      }
  }
  </code></pre>
  
  <p>New document to percolate:</p>
  
  <pre><code>{
      "doc": {
          "full_name": "Pacman"
          "company": "Arcade Game LTD",
          "occupation": "hunter", 
          "tags.raw": ["Computer Games"]
      }
  }
  </code></pre>
  
  <p>And when I try to match document above with <code>tags.raw</code>, still no matches are found.
  I analyzed field <code>tags.raw</code> but it looks like it still creates tokens <code>computer</code>, <code>games</code> and <code>running</code>.</p>