Elastic Search enquiry : query to search data with greater and less than filter

sir,

can we use greater or less than symbol in elastic search. If yes then it is
possible to use it within filter.

Thanks and regads
Mohit Kumar Yadav

--
You received this message because you are subscribed to the Google Groups "elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email to elasticsearch+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

try this..

  "filter": {
                    "range": {  "field_name": { "from": "form_value" , 

"to": "to_val"}
}

On Friday, February 8, 2013 4:35:16 PM UTC+5:30, Mohit Kumar Yadav wrote:

sir,

can we use greater or less than symbol in Elasticsearch. If yes then it
is possible to use it within filter.

Thanks and regads
Mohit Kumar Yadav

--
You received this message because you are subscribed to the Google Groups "elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email to elasticsearch+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.