Elasticsearch: Mixing terms and ranges in post filter
<p>I am trying to figure out how to apply multiple post_filters (like when a user selects multiple facets/aggregations)</p>

<pre><code>  "post_filter": {
    "bool": {
      "must": [
        {
          "terms": {  "category": [ "Jewelry Collections", "Rings" ] }
        },
        {
          "terms": {  "size_jewelry": [ "6.5", "7"] }
        },        
        {
          "range": {  "price": [{ "gte": 0, "lte": 100  },{ "gte": 100, "lte": 200  }] }
        }
      ]
    }
  }
</code></pre>

<p>That obviously doesn't work. Basically, I'm trying to this:</p>

<p>category="Jewelry Collections" OR "Rings"
AND
size_jewelry="6.5" OR "7"
AND
price =0-100 OR price 100-200</p>

<p>Any help appreciated</p>