title: How do I make a logical "OR" out of the "bool" query in Elasticsearch?
body: <p>In the Elasticsearch documentation, it says the "Or Query" is deprecated and to use the "bool" query instead: <a href="https://www.elastic.co/guide/en/elasticsearch/reference/current/query-dsl-or-query.html" rel="nofollow">https://www.elastic.co/guide/en/elasticsearch/reference/current/query-dsl-or-query.html</a></p>
  
  <p>But I'm not sure how to make a logical "OR" using the "bool" query. I tried:</p>
  
  <pre><code>query: {
      bool: {
          must: [
              { match: { title: 'some title'}},
              { match: { author: 'some author'}}
          ]
      }
  }
  </code></pre>
  
  <p>This matches the title being 'some title' AND the author being 'some author', but how do I convert this into an OR express? Like I want it to match the title being 'some title' OR the author being 'some author'. Thanks!</p>