Timezone in simple query

2014-08-27 Thread glivolsi
"+1:00" } } } but this is not possible { "match" : { "post_date" : "2012-01-01", *"time_zone": "+1:00"* <<<< this go wrong} } how can i do this to permit any users to query correct respect his

Timezone in Simple Query

2014-08-26 Thread Gianni Livolsi
All dates are UTC. Internally, a date maps to a number type long. When applied on date fields the range filter accepts also a time_zone parameter { "range" : { "born" : { "gte": "2012-01-01", "time_zone": "+1:00" } } } but this is not poss