{"issue":{"created_at":"2011-12-15T14:44:50Z","state":"open","updated_at":"2011-12-15T14:44:50Z","user":{"gravatar_id":"8c4c0f6e2a311eb34d48174df24ec6f2","id":48020,"url":"https://api.github.com/users/dobe","login":"dobe","avatar_url":"https://secure.gravatar.com/avatar/8c4c0f6e2a311eb34d48174df24ec6f2?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png"},"comments":0,"body":"using a boolean query with a timestamp in a term, returns non-matching items. \r\n\r\nthe example below returns all items with searched domain and ANY \"ts\" value in 0.18.5. in 0.17.6 the \"ts\" field must match. we already tried it with integer and string fields instead of the timestamp field which works, so it seems this is timestamp related?\r\n\r\nwe also tried using a filtered query and filtering by \"ts\" which does not work either.\r\n\r\ne.g:\r\n\r\n```javascript\r\n{\r\n  \"query\": {\r\n    \"bool\": {\r\n      \"must\": [\r\n        {\r\n          \"term\": {\r\n            \"domains\": \"adidas.com\"\r\n          }\r\n        },\r\n        {\r\n          \"term\": {\r\n            \"ts\": 1316995200000\r\n          }\r\n        }\r\n      ]\r\n    }\r\n  },\r\n  \"fields\": \"*\"\r\n}\r\n```\r\n\r\n","assignee":null,"id":2567194,"number":1543,"pull_request":{"patch_url":null,"html_url":null,"diff_url":null},"labels":[],"title":"timestamp term match broken in 0.18.5","html_url":"https://github.com/elasticsearch/elasticsearch/issues/1543","closed_at":null,"milestone":null,"url":"https://api.github.com/repos/elasticsearch/elasticsearch/issues/1543"},"action":"opened"}