How to do a range query to match all greater than X


(tomer zaks) #1

How to do a range query to match all greater than X?

for an example all that the delay field has a value greater than 3 as in the following example:

{ "range": 
          { 
            "delay": 
              {
                "gte": 3,
                "lt":  infinity
              } 
          }
        }

(Colin Goodheart-Smithe) #2

You can just leave out the "lt" field and the query will be unbounded on the upper bound.


(system) #3

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.