title: ElasticSearch missing and term query
body: <p>I am trying to fetch documents where is missing field <strong>"topic.description"</strong> and match term <strong>"fundedUnder.programme": "ABC"</strong>.</p>
  
  <p>Mapping:</p>
  
  <pre><code>...
  "fundedUnder": {
      "properties": {
          "programme": {
              "type": "string"
          },
          "subprogramme": {
              "type": "string"
          }
      }
  },
  "topics": {
      "type": "nested",
      "include_in_parent": true,
      "properties": {
          "code": {
              "type": "string",
              "analyzer": "analyzer_keyword"
           },
           "description": {
               "type": "string",
               "analyzer": "analyzer_keyword"
           },
           "title": {
               "type": "string",
               "analyzer": "analyzer_keyword"
           }
      }
  },
  ...
  </code></pre>
  
  <p>My Query looks like:</p>
  
  <pre><code>{
    "query": {
      "filtered": {
        "filter": {
          "bool": {
            "must": [
              {
                "missing": {
                  "field": "topics.description"
                }
              },
              {
                  "term": {
                      "fundedUnder.programme" : "ABC" 
                  }
              }   
            ]
          }
        }
      }
    }
  }
  </code></pre>
  
  <p>This query found nothing and that is wrong, because I have in indexes a lot of documents with fundedUnder.programme == "ABC" and with missing field topics.description.</p>
  
  <p>Thanks in advance. </p>
  
  <p>ElasticSearch version 1.7.5</p>