title: ElasticSearch multiple string to search with wildcard query
body: <p>I'm trying to have multiple wildcard query match in my elasticsearch query in Kibana. I can't quite figure it out. </p>
  
  <p>Basically I want any document with an attribute type="erreur"</p>
  
  <p>and I want to exclude all documents that match the strings "An established*" or "java.lang.*" on the field descr_courte</p>
  
  <pre><code>{
    "query": {
      "bool": {
        "must": {
          "term": {
            "type": "erreur"
          }
    },
        "must_not": {
          "wildcard": {
            "descr_courte": ["An established*", "java.lang.*"]
          }
        }
      }
    }
  }
  </code></pre>
  
  <p>if I put a single wildcard query it works fine</p>
  
  <pre><code>{
   "query": {
      "bool": {
        "must": {
          "term": {
            "type": "erreur"
          }
        },
        "must_not": {
          "wildcard": {
            "descr_courte": 
              "An established*"
          }
        }
      }
    }
  }   
  </code></pre>
  
  <p>the error I get: </p>
  
  <p>Error: Request to Elasticsearch failed: {"error":{"root_cause":[{"type":"illegal_state_exception","reason":"Can't get text on a START_ARRAY at 1:454"}],"type":"search_phase_execution_exception","reason":"all shards 
  Any idea?</p>