title: Filter context for should query in elasricsearch?
body: <p>I have a must query which looks like this:</p>
  
  <pre><code>{
      "query": {
          "bool": {
              "must": [{
                  "match": {
                      "section": {
                          "query": "word1",
                          "boost": "3"
                      }
                  }
              }, {
                  "match": {
                      "section": {
                          "query": "word2",
                          "boost": "4"
                      }
                  }
              }]
          }
      }
  }
  </code></pre>
  
  <p>How can I make it "OR" i.e. All the documents which match "word1", "word2" or both, because the above code gives me results in the documents which contain both "word1" and "word2".</p>
  
  <p>I read in the <a href="https://www.elastic.co/guide/en/elasticsearch/reference/current/query-filter-context.html" rel="nofollow noreferrer">documentation</a> that this can be achieved by using should in the filter context but I couldn't find any example.</p>
  
  <p>Thanks</p>