It'd be better to use (range)[http://www.elasticsearch.org/guide/en/elasticsearch/reference/current/query-dsl-range-query.html] and [bool](http://www.elasticsearch.org/guide/en/elasticsearch/reference/current/query-dsl-bool-query.html) queries instead of manually building up the query string.