title: is there a way to query range when maximal range is defined by an array with two numbers
body: <p>I need to write an elastic range query that operates on a following index format</p>
  
  <pre><code>    ...
      "facetProperties": {
        "fid641616": [
          31.75,
          44.45
        ]
      }
      ...
  
  </code></pre>
  
  <p>the following query works only if <code>lt</code> or <code>gt</code> matches the lower or the upper bound of the max range. As soon as I try to narrow both ends, there are no results.</p>
  
  <pre><code>    {
        "query": {
          "bool": {
            "should": [{
              "range": {
                "facetProperties.fid641616": {
                  "gt": 33,
                  "lt": 42
                }
              }
            }]
          }
        },
        "from": 0,
        "size": 250,
        "sort": [
  
        ],
        "aggs": {
  
        },
        "_source": "facetProperties.fid641616"
      }
  
  </code></pre>
  
  <p>Is there a way to get this working without modifying the index?</p>
  
  <p>update1 - some use cases:
  query range:</p>
  
  <pre><code>    "range": {
                "facetProperties.fid641616": {
                  "gt": 33,
                  "lt": 42
               }
            }
  
      facet1 : [31] - should not be found
      facet2 : [31,45] - should be found 
      facet1 : [31,32] - should not be found
      facet1 : [44,45] - should not be found
  
  </code></pre>