title: Elastic Search : Match Query not working in Nested Bool Filters
body: <p>I am able to get data for the following elastic search query :</p>
  
  <pre><code>{
    "query": {
      "filtered": {
        "query": [],
        "filter": {
          "bool": {
            "must": [
              {
                "bool": {
                  "should": [
                    {
                      "term": {
                        "gender": "malE"
                      }
                    },
                    {
                      "term": {
                        "sentiment": "positive"
                      }
                    }
                  ]
                }
              }
            ]
          }
        }
      }
    }
  }
  </code></pre>
  
  <p>However, If I query using "match" - I get error message with 400 status response</p>
  
  <pre><code>{
    "query": {
      "filtered": {
        "query": [],
        "filter": {
          "bool": {
            "must": [
              {
                "bool": {
                  "should": [
                    {
                      "match": {
                        "gender": "malE"
                      }
                    },
                    {
                      "term": {
                        "sentiment": "positive"
                      }
                    }
                  ]
                }
              }
            ]
          }
        }
      }
    }
  }
  </code></pre>
  
  <p>Is match query not supported in nested bool filters ?</p>
  
  <p>Since the term query looks for the exact term in the field’s inverted index and I want to query gender data as case_insensitive field - Which approach shall I try ?</p>
  
  <p>Settings of the index :</p>
  
  <pre><code>{
    "settings": {
      "index": {
        "analysis": {
          "analyzer": {
            "analyzer_keyword": {
              "tokenizer": "keyword",
              "filter": "lowercase"
            }
          }
        }
      }
    }
  }
  </code></pre>
  
  <p>Mapping for field Gender:</p>
  
  <pre><code>{"type":"string","analyzer":"analyzer_keyword"}
  </code></pre>