# Specifying greater than range in HTTP request

**URL:** <https://discuss.elastic.co/t/specifying-greater-than-range-in-http-request/8574>\
**Category:** Elasticsearch\
**Created:** [July 31, 2012, 7:02am UTC](https://discuss.elastic.co/t/specifying-greater-than-range-in-http-request/8574 "2012-07-31T07:02:26Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Krri16](https://avatars.discourse-cdn.com/v4/letter/k/e9c0ed/32.png) [@Krri16](https://discuss.elastic.co/u/Krri16)\
**Post date:** [July 31, 2012, 7:02am UTC](https://discuss.elastic.co/t/specifying-greater-than-range-in-http-request/8574/1 "2012-07-31T07:02:26Z")

</div>

Hi,

I'm able to search the index by giving the range in date or age as below:  
[http://localhost:9200/testing/testingtable/\_search?pretty=true&q=date:](http://localhost:9200/testing/testingtable/_search?pretty=true&q=date:)[2012-04-03 TO 2012-06-22]  
[http://localhost:9200/testing/testingtable/\_search?pretty=true&q=age:](http://localhost:9200/testing/testingtable/_search?pretty=true&q=age:)[20 TO 40]

But,how can i get the results for date\>2012-06-22 and age \>25..Is there any greater than operator that I should use in HTTP request.Can anyone suggest me please

Thanks  
Krrish

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [July 6, 2017, 3:18am UTC](https://discuss.elastic.co/t/specifying-greater-than-range-in-http-request/8574/2 "2017-07-06T03:18:22Z")

</div>


