title: Override search requirement in Elasticsearch
body: <p>We search on the following fields in our index:</p>
  
  <ul>
  <li>individual_name <em>(string)</em></li>
  <li>organisation_name <em>(string)</em></li>
  <li>profile <em>(string)</em></li>
  <li>locations <em>(string)</em></li>
  <li>nationwide <em>(boolean)</em></li>
  </ul>
  
  <p>If a user searches for "optometrist" in "Hamilton", and an optometrist in our index has listed themselves as "nationwide" (but not specifically in Hamilton), desired behaviour is that the optometrist would show up with the Hamilton results - effectively ignoring the location requirement.</p>
  
  <p>We're currently running a <code>multi_match</code> query, an example of which is below.</p>
  
  <pre><code>{
      "query": {
          "filtered" : {
              "query" : {
                  "multi_match": {
                      "query": "optometrist",
                      "zero_terms_query": "all",
                      "operator": "and",
                      "fields": [
                          "individual_name^1.2",
                          "organisation_name^1.5",
                          "profile",
                          "accreditations"
                      ]
                  }
              },
              "filter": {
                  "and": [{
                      "term": {
                          "locations" : "hamilton"
                      }
                  }],
              }
          }
      }
  }
  </code></pre>
  
  <p>How can this be modified so documents with <code>"nationwide": "yes"</code> are returned for this query, regardless of location?</p>
  
  <p>I've tried an <code>or</code> query under the <code>and</code>, but of course that ignored the <code>multi_match</code>.</p>