title: Elasticsearch match all query using Java API
body: <p>We are using Elasticsearch version 7.3.1 and Java API.</p>
  
  <p>We are implementing a "free search", which means a search for a value in <strong>ALL</strong> the fields in each segment in Elasticsearch. If that value appears in at least one of the segment's fields, it should be returned.</p>
  
  <p>Until now, we have used the following: <code>QueryBuilders.multiMatchQuery(value)</code> and it worked well.</p>
  
  <p>As for today, we have added to the mapping file some <em>nested</em> (Elasticsearch data type) type fields.</p>
  
  <p>After that change, the code above does not return the expected results anymore.</p>
  
  <p>How can I implement a search in <strong>ALL</strong> the fields in a segment without specifying each field to search?</p>