title: Elasticsearch: How to write an 'OR' clause in filter context?
body: <p>I'm looking for syntax/example compatible with ES version is 6.7.
  I have seen the docs, I don't see any examples for this and the explanation isn't clear enough to me. I have tried writing query according to that, but I keep on getting syntax error. I have seen below questions on SO already but they don't help me:</p>
  
  <p><a href="https://stackoverflow.com/questions/50998320/filter-context-for-should-in-bool-query-elasticsearch">Filter context for should in bool query (Elasticsearch)</a></p>
  
  <p>It doesn't have any example.</p>
  
  <p><a href="https://stackoverflow.com/questions/33646543/multiple-or-filter-in-elasticsearch">Multiple OR filter in Elasticsearch</a></p>
  
  <p>I get a syntax error </p>
  
  <pre><code>"type": "parsing_exception",
  "reason": "no [query] registered for [filtered]",
  "line": 1,
  "col": 31
  </code></pre>
  
  <p>Maybe it's for a different version of ES.</p>
  
  <p>All I need is a simple example with two 'or'ed conditions (mine is one <code>range</code> and one <code>term</code> but I guess that shouldn't matter much), both I would like to have in filter context (I don't care about scores, nor text search).</p>
  
  <p>If you really need it, I can show my attempts (need to remove some 'sensitive'(duh) parts from it before posting), but they give parsing/syntax errors so I don't think there is any sense in them. I am aware that questions which don't show any efforts are considered bad for SO but I don't see any logic in showing attempts that aren't even parsed successfully, and any example would help me understand the syntax.</p>