title: How to query elasticsearch nested object using fuzziness and wildcard query
body: <pre><code>{  
     "took":1,
     "timed_out":false,
     "_shards":{  
        "total":5,
        "successful":5,
        "skipped":0,
        "failed":0
     },
     "hits":{  
        "total":1,
        "max_score":1,
        "hits":[  
           {  
              "_index":"event_11",
              "_type":"_doc",
              "_id":"1",
              "_score":1,
              "_source":{  
                 "title":"Event One",
                 "comments":{  
                    "author":"Alvin",
                    "author_id":1
                 }
              },
              "inner_hits":{  
                 "comments":{  
                    "hits":{  
                       "total":1,
                       "max_score":1,
                       "hits":[  
                          {  
                             "_index":"event_11",
                             "_type":"_doc",
                             "_id":"1",
                             "_nested":{  
                                "field":"comments",
                                "offset":0
                             },
                             "_score":1,
                             "_source":{  
                                "author":"Alvin",
                                "author_id":1
                             }
                          }
                       ]
                    }
                 }
              }
           }
        ]
     }
  }
  </code></pre>
  
  <p>I am trying to query the above data with the below wildcard query:</p>
  
  <pre><code>GET event_11/_search
  {
    "query": {
      "nested": {
        "path": "comments",
          "query": {
            "wildcard": {
                "comments.author": "Al*"
            } 
          }
      }
    }
  }
  </code></pre>
  
  <p>The above query is giving empty result set. Can someone help me fix the search query using wildcard and fuzziness? I am using ElasticSearch 6 and Kibana to create my queries. PHP SDK is used to write queries from PHP application. </p>