title: Terms filter not matching with multiple values
body: <p>My document's mapping:</p>
  
  <pre><code> ...
   "user.id": {
     "type": "string",
     "index": "not_analyzed"
    },
    ...
  </code></pre>
  
  <p>An example document that is indexed:</p>
  
  <pre><code>{ "user": { "id": "123" } }
  </code></pre>
  
  <p>With the following query:</p>
  
  <pre><code>"query" : {
    "filtered" : {
      "query" : {
        "match_all" : { }
      },
      "filter" : {
        "terms" : {
          "user.id" : [ "123, foo" ]
      }
    }
  }
  </code></pre>
  
  <p>I get no hits.</p>
  
  <p>Whilst a term filter with just "123" matches successfully.</p>
  
  <p>From what I've read in the <a href="https://www.elastic.co/guide/en/elasticsearch/reference/1.3/query-dsl-terms-filter.html" rel="nofollow">documentation</a> the terms filter should match "any" of the provided values. So in my case the fact that "foo" doesn't match to the <code>userId</code> then the document should match since "123" does match.</p>
  
  <p>Have I misunderstood the terms filter?</p>