title: Apply 'exists' query on array of nested objects in ElasticSearch
body: <p>I have a json document in elasticsearch complete/user with the following structure:</p>
  
  <pre><code>"_source":{
  "experiences":[
  {experience 1}, {experience 2}, ... , {experience n}
  
  ]
  
  }
  </code></pre>
  
  <p>The structure of experience object in the experiences array is as follows:</p>
  
  <pre><code>{
      "company":
  
      {
          "industry": industry of the comany,
          "name": company name,
  ​        ... other fields
      },
      "start_date": date when person joined company,
      ... other fields
  }
  </code></pre>
  
  <p>I want to find all such documents where neither of the experiences in experiences array have company.industry field i.e. all the experiences must have this field missing. Is there any query that I can use?</p>
  
  <p>Thanks in advance</p>